Languages list is now sorted.
This commit is contained in:
parent
b5919a43eb
commit
754d5ec9e3
4 changed files with 32 additions and 3 deletions
|
|
@ -54,6 +54,26 @@
|
|||
<option value="3" {%+ call is_difficulty(common::ron_api::Difficulty::Hard) %}>Hard</option>
|
||||
</select>
|
||||
|
||||
<!--
|
||||
* Event on 'input':
|
||||
* Trim left
|
||||
* for all w in "<word> ":
|
||||
* Call recipe/add_tags with all w
|
||||
* Add all w to tag list (DOM)
|
||||
* Event on 'click' on del tag button:
|
||||
* Call recipe/rm_tags
|
||||
* Remove the tag to the html list (DOM)
|
||||
* 'enter' key to add the current tag
|
||||
-->
|
||||
<div id="widget-tags">
|
||||
<label for="input-tags" >Tags</label>
|
||||
<div class="tags"></div>
|
||||
<input
|
||||
id="input-tags"
|
||||
type="text"
|
||||
value="" />
|
||||
</div>
|
||||
|
||||
<label for="select-language">Language</label>
|
||||
<select id="select-language">
|
||||
{% for lang in languages %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue