priority is now a radio button list not drop down
This commit is contained in:
parent
57d096f8b9
commit
8be63f0bf1
|
@ -15,11 +15,10 @@
|
|||
rows="10" style="border:none;border-bottom:1px solid gray; box-shadow:none;">{{.Content}}</textarea>
|
||||
|
||||
<input type="text" name="id" value="{{.Id}}" class="hidden" />
|
||||
Priority: <select name="priority">
|
||||
<option>---</option>
|
||||
<option {{if eq .Priority "3"}} selected="true" {{end}} value="high">High</option>
|
||||
<option {{if eq .Priority "2"}} selected="true" {{end}} value="medium">Medium</option>
|
||||
<option {{if eq .Priority "1"}} selected="true" {{end}} value="low">Low</option>
|
||||
Priority:
|
||||
<input type="radio" name="priority" value="3" {{if eq .Priority "3"}} checked="checked" {{end}} /> High
|
||||
<input type="radio" name="priority" value="2" {{if eq .Priority "2"}} checked="checked" {{end}} /> Medium
|
||||
<input type="radio" name="priority" value="1" {{if eq .Priority "1"}} checked="checked" {{end}} /> Low
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -22,14 +22,11 @@
|
|||
|
||||
<textarea class="form-control" name="content" id="add-note-content" placeholder="Content" rows="10" style="border:none;border-bottom:1px solid gray; box-shadow:none;"></textarea>
|
||||
File: <input type="file" name="uploadfile" /> <br>
|
||||
Priority: <select name="priority">
|
||||
<option>---</option>
|
||||
<option value="3">High</option>
|
||||
<option value="2">Medium</option>
|
||||
<option value="1">Low</option>
|
||||
</select>
|
||||
Priority:
|
||||
<input type="radio" name="priority" value="3" /> High
|
||||
<input type="radio" name="priority" value="2" /> Medium
|
||||
<input type="radio" name="priority" value="1" /> Low
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
||||
|
|
Loading…
Reference in New Issue