Fixes #3995 - Select field in bulk operations out of view port
This commit is contained in:
parent
4acf9cac67
commit
032995eeef
1 changed files with 8 additions and 10 deletions
|
@ -1,14 +1,12 @@
|
|||
<div class="controls controls--select">
|
||||
<div class='relative'>
|
||||
<select <% if @attribute.id: %>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: %>
|
||||
<option value="<%= row.value %>" <%= row.selected %> <%= row.disabled %>><%= row.name %></option>
|
||||
<% end %>
|
||||
<select <% if @attribute.id: %>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: %>
|
||||
<option value="<%= row.value %>" <%= row.selected %> <%= row.disabled %>><%= row.name %></option>
|
||||
<% end %>
|
||||
</select>
|
||||
<% if not @attribute.multiple: %>
|
||||
<%- @Icon('arrow-down') %>
|
||||
<% end %>
|
||||
</div>
|
||||
</select>
|
||||
<% if not @attribute.multiple: %>
|
||||
<%- @Icon('arrow-down') %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue