Sha256: 28a79ad90a2b13514156973ec4336f6722604890c07fccf68e9b8e5ec79f29ee

Contents?: true

Size: 559 Bytes

Versions: 4

Compression:

Stored size: 559 Bytes

Contents

<div class="form-control <%= @width %>" <%= required_data_input %>>
  <label class="form-label"><%= @label %></label>
  <select class="select <%= @custom_class %>" name="<%= @name %>" placeholder="<%= @placeholder %>" <%= disabled_data_input %> multiple="multiple">
    <% if(@option_blank) %>
      <option></option>
    <% end %>
    <% @options.each do |option| %>
      <option value="<%= option_value(option) %>" <%= selected_value(option) %>><%= option_name(option) %></option>
    <% end %>
  </select>
  <div class="input-error-message"></div>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lato_view-1.1.5 app/cells/lato_view/cells_v1/input/views/multiple-select.html.erb
lato_view-1.1.4 app/cells/lato_view/cells_v1/input/views/multiple-select.html.erb
lato_view-1.1.3 app/cells/lato_view/cells_v1/input/views/multiple-select.html.erb
lato_view-1.1 app/concepts/lato_view/input/views/multiple-select.html.erb