fix: states from server-side

main
Julian Lam 2 years ago
parent 1d5b9654b5
commit dff673a063

@ -60,10 +60,9 @@
<div class="form-group"> <div class="form-group">
<h2 class="h4" for="state">[[flags:state]]</h2> <h2 class="h4" for="state">[[flags:state]]</h2>
<select class="form-control" id="state" name="state" disabled> <select class="form-control" id="state" name="state" disabled>
<option value="open">[[flags:state-open]]</option> {{{ each states }}}
<option value="wip">[[flags:state-wip]]</option> <option value="{@key}">{./label}</option>
<option value="resolved">[[flags:state-resolved]]</option> {{{ end }}}
<option value="rejected">[[flags:state-rejected]]</option>
</select> </select>
</div> </div>
<div class="form-group"> <div class="form-group">

Loading…
Cancel
Save