diff --git a/app/assets/javascripts/app/views/generic/select.jst.eco b/app/assets/javascripts/app/views/generic/select.jst.eco index bc0420544..1ff67bb89 100644 --- a/app/assets/javascripts/app/views/generic/select.jst.eco +++ b/app/assets/javascripts/app/views/generic/select.jst.eco @@ -1,14 +1,12 @@
-
- id="<%= @attribute.id %>"<% end %> class="form-control<%= " #{ @attribute.class }" if @attribute.class %>" name="<%= @attribute.name %>" <%= @attribute.multiple %> <%= @attribute.required %> <%= @attribute.autofocus %> <% if @attribute.disabled: %> disabled<% end %>> + <% if @attribute.options: %> + <% for row in @attribute.options: %> + <% end %> - - <% if not @attribute.multiple: %> - <%- @Icon('arrow-down') %> <% end %> -
+ + <% if not @attribute.multiple: %> + <%- @Icon('arrow-down') %> + <% end %>