/modules/mod_admin_config/templates/_action_dialog_config_edit.tpl
http://github.com/zotonic/zotonic · Smarty Template · 26 lines · 25 code · 1 blank · 0 comment · 0 complexity · 9710e613605b5d36e9e03caa359fabe8 MD5 · raw file
- {% wire id=#form type="submit" postback={config_edit module=module key=key on_success=on_success} delegate=delegate %}
- <form id="{{ #form }}" method="POST" action="postback" class="form form-horizontal">
- <div class="form-group row">
- <label class="control-label col-md-3" for="{{ #module }}">{_ Module _}</label>
- <div class="col-md-4">
- <input type="text" id="{{ #module }}" name="module" value="{{ module|escape }}" class="input-xlarge form-control" />
- </div>
- </div>
- <div class="form-group row">
- <label class="control-label col-md-3" for="{{ #key }}">{_ Key _}</label>
- <div class="col-md-4">
- <input type="text" id="{{ #key }}" name="key" value="{{ key|escape }}" class="input-xlarge form-control" />
- </div>
- </div>
- <div class="form-group row">
- <label class="control-label col-md-3" for="{{ #value }}">{_ Value _}</label>
- <div class="col-md-9">
- <input type="text" id="{{ #value }}" name="val" value="{{ value|escape }}" class="input-xlarge do_autofocus form-control" />
- </div>
- </div>
-
- <div class="modal-footer">
- {% button class="btn btn-default" action={dialog_close} text=_"Cancel" tag="a" %}
- <button class="btn btn-primary" type="submit">{_ Save _}</button>
- </div>
- </form>