add fulfilled
This commit is contained in:
parent
3fa57d4da8
commit
21b127bd69
|
|
@ -5,7 +5,7 @@ table_name = 'conditions'
|
|||
route = table_name
|
||||
r = getRethinkDB()
|
||||
|
||||
booleans = ["disabled"]
|
||||
booleans = ["disabled", "fulfilled"]
|
||||
|
||||
def create_conditions_routes(app):
|
||||
# Create a table (if not exists)
|
||||
|
|
|
|||
|
|
@ -30,6 +30,8 @@
|
|||
|
||||
<label for="disabled">Disabled</label>
|
||||
<input type="checkbox" name="disabled">
|
||||
|
||||
<input type="hidden" name="fulfilled" value="false">
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
|
|
|
|||
|
|
@ -33,6 +33,9 @@
|
|||
|
||||
<label for="disabled">Disabled</label>
|
||||
<input type="checkbox" name="disabled" {{ "checked" if data.disabled }}>
|
||||
|
||||
<label for="fulfilled">Fulfilled</label>
|
||||
<input type="checkbox" name="fulfilled" {{ "checked" if data.fulfilled }}>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<button value="cancel" formmethod="dialog" onclick="window.top.postMessage('close', '*')">Cancel</button>
|
||||
|
|
|
|||
Loading…
Reference in New Issue