diff options
| author | Fabien Pinckaers <fp@openerp.com> | 2013-11-14 22:28:56 +0100 |
|---|---|---|
| committer | Fabien Pinckaers <fp@openerp.com> | 2013-11-14 22:28:56 +0100 |
| commit | 85265aefb9959bf148c499b6879afd8c277a0aa1 (patch) | |
| tree | 77ae613c59b7616c5c9a68b7b482f19aedf8b5c2 /addons/website/static/src/xml | |
| parent | cf5dfe897e98e7659c854f9ca0926a12ef9ff16d (diff) | |
[IMP] layout of website.prompt
bzr revid: fp@openerp.com-20131114212856-ff42xtka5dlv8c8c
Diffstat (limited to 'addons/website/static/src/xml')
| -rw-r--r-- | addons/website/static/src/xml/website.xml | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/addons/website/static/src/xml/website.xml b/addons/website/static/src/xml/website.xml index 2c7fbfc9568..1b4254ca19b 100644 --- a/addons/website/static/src/xml/website.xml +++ b/addons/website/static/src/xml/website.xml @@ -106,18 +106,22 @@ <h3 class="modal-title"><t t-esc="window_title"/></h3> </div> <div class="modal-body"> - <h4 class="list-group-item-heading" t-if="field_name"> - <label for="page-name" class="control-label"> - <t t-esc="field_name"/> + <form class="form-horizontal" role="form"> + <div class="form-group mb0"> + <label for="page-name" class="col-sm-3 control-label"> + <t t-esc="field_name"/>: </label> - </h4> - <input t-if="field_type == 'input'" type="text" class="form-control" required="required" t-att-placeholder="field_name"/> - <textarea t-if="field_type == 'textarea'" class="form-control" required="required" rows="5" t-att-placeholder="field_name"></textarea> - <select t-if="field_type == 'select'" class="form-control"></select> + <div class="col-sm-9"> + <input t-if="field_type == 'input'" type="text" class="form-control" required="required"/> + <textarea t-if="field_type == 'textarea'" class="form-control" required="required" rows="5"></textarea> + <select t-if="field_type == 'select'" class="form-control"></select> + </div> + </div> + </form> </div> <div class="modal-footer"> <button type="button" class="btn" data-dismiss="modal" aria-hidden="true">Cancel</button> - <button type="button" class="btn btn-primary">Ok</button> + <button type="button" class="btn btn-primary">Continue</button> </div> </div> </div> |
