[fix] [minor] webshop fixes after bootstrap 3

This commit is contained in:
Anand Doshi
2013-08-21 19:36:23 +05:30
parent bbc2d11d10
commit 65f5c58e51
7 changed files with 25 additions and 21 deletions

View File

@@ -22,7 +22,7 @@
{% elif df.fieldtype == "Select" -%}
<fieldset>
<label>{{ df.label }}</label>
<select data-fieldname="{{ df.fieldname }}" data-fieldtype="{{ df.fieldtype }}">
<select class="form-control" data-fieldname="{{ df.fieldname }}" data-fieldtype="{{ df.fieldtype }}">
{% for value in df.options.split("\n") -%}
{% if doc and doc.fields.get(df.fieldname) == value -%}
<option selected="selected">{{ value }}</option>