- Fixed option indetation.
- Removed arrow svg for multiple select elements.
This commit is contained in:
parent
4772752c51
commit
63cc9c0c0d
1 changed files with 3 additions and 1 deletions
|
@ -2,9 +2,11 @@
|
|||
<select id="<%= @attribute.id %>" class="form-control<%= " #{ @attribute.class }" if @attribute.class %>" name="<%= @attribute.name %>" <%= @attribute.multiple %> <%= @attribute.required %> <%= @attribute.autofocus %>>
|
||||
<% if @attribute.options: %>
|
||||
<% for row in @attribute.options: %>
|
||||
<option value="<%= row.value %>" <%= row.selected %> <%= row.disabled %>><%= row.name %></option>
|
||||
<option value="<%= row.value %>" <%= row.selected %> <%= row.disabled %>><%= row.name %></option>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</select>
|
||||
<% if not @attribute.multiple: %>
|
||||
<svg class="icon-arrow-down"><use xlink:href="#icon-arrow-down" /></svg>
|
||||
<% end %>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue