Sha256: 0fbe4d8c8e5f69585f0e86bc93691c5be9d018ebada72f8a0dc783fc2d213d4d

Contents?: true

Size: 558 Bytes

Versions: 2

Compression:

Stored size: 558 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 %>"
          <%= multiple_data_input %>>

    <% if(@option_blank) %>
      <option></option>
    <% end %>
    <% @options.each do |option| %>
      <option value="<%= option[:value] %>" <%= selected_value(option) %>>
        <%= option[:name]%>
      </option>
    <% end %>

  </select>

  <div class="input-error-message"></div>

</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lato_view-1.1.4 app/cells/lato_view/input/select/views/show.html.erb
lato_view-1.1.3 app/cells/lato_view/input/select/views/show.html.erb