From 032995eeef33a56104606e7ab2aa6880ca8f7237 Mon Sep 17 00:00:00 2001 From: Mantas Date: Thu, 3 Mar 2022 12:04:22 +0200 Subject: [PATCH] Fixes #3995 - Select field in bulk operations out of view port --- .../app/views/generic/select.jst.eco | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) 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 %>