Improved error handling.

This commit is contained in:
Martin Edenhofer 2014-09-07 23:51:25 +02:00
parent 3bc37e029d
commit 3ed0d1ad94

View file

@ -1,5 +1,7 @@
<select id="<%= @attribute.id %>" class="form-control <%= @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>
<% end %>
<% end %>
</select>