Преглед изворни кода

apply selectpicker style to group select input

Yuki Takei пре 8 година
родитељ
комит
112936cf28
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      lib/views/_form.html

+ 1 - 1
lib/views/_form.html

@@ -56,7 +56,7 @@
       </select>
       </select>
       {% endif %}
       {% endif %}
       {% if userRelatedGroups.length != 0 %}
       {% if userRelatedGroups.length != 0 %}
-      <select name="pageForm[grantUserGroupId]" class="form-control">
+      <select name="pageForm[grantUserGroupId]" class="selectpicker btn-group-sm">
         {% for userGroup in userRelatedGroups %}
         {% for userGroup in userRelatedGroups %}
         <option value="{{ userGroup.id }}">{{ userGroup.name }}</option>
         <option value="{{ userGroup.id }}">{{ userGroup.name }}</option>
         {% endfor %}
         {% endfor %}