diff options
| author | Lex Neva <github.com@lexneva.name> | 2018-04-14 20:39:59 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2018-04-15 19:46:22 -0400 |
| commit | f9b90d31b7730103e296b0c2509885b07000eac4 (patch) | |
| tree | bbe850095eb01bf6a35b082a4e184e3edaf82e04 /print/templates | |
| parent | 78532e8efec1b39d8f7b9286508cc10e5050fe69 (diff) | |
round-trip editable fields and checkboxes
Diffstat (limited to 'print/templates')
| -rw-r--r-- | print/templates/ui.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/print/templates/ui.html b/print/templates/ui.html index 078f1a4c..9acdd1bc 100644 --- a/print/templates/ui.html +++ b/print/templates/ui.html @@ -24,10 +24,10 @@ <div> <fieldset> <legend>{{ ('Print Layouts') }}:</legend> - <p><input type="checkbox" id="client-overview" {{ 'checked' if view.client_overview else '' }}><label for="client-overview">Client Overview</label></p> - <p><input type="checkbox" id="client-detailedview" {{ 'checked' if view.client_detailedview else '' }}><label for="client-detailedview">Client Detailed View</label></p> - <p><input type="checkbox" id="operator-overview" {{ 'checked' if view.operator_overview else '' }}><label for="operator-overview">Operator Overview</label></p> - <p><input type="checkbox" id="operator-detailedview" {{ 'checked' if view.operator_detailedview else '' }}><label for="operator-overview">Operator Detailed View</label></p> + <p><input type="checkbox" id="client-overview" data-field-name="client-overview" /><label for="client-overview">Client Overview</label></p> + <p><input type="checkbox" id="client-detailedview" data-field-name="client-detailedview" /><label for="client-detailedview">Client Detailed View</label></p> + <p><input type="checkbox" id="operator-overview" data-field-name="operator-overview" CHECKED /><label for="operator-overview">Operator Overview</label></p> + <p><input type="checkbox" id="operator-detailedview" data-field-name="operator-detailedview" CHECKED /><label for="operator-detailedview">Operator Detailed View</label></p> </fieldset> </div> </div> |
