Sha256: 1e13b6d792da9f234d7a1d4737d60395f21c752a55ce73363f08f88a23247797

Contents?: true

Size: 675 Bytes

Versions: 1

Compression:

Stored size: 675 Bytes

Contents

<div class="form-control <%= @width %>" <%= required_data_input %>>

  <label class="form-label"><%= @label %></label>

  <% # The point on class is used to have space between select_class and custom_class when select is render %>
  <select class="<%= @select_class %> . <%= @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

1 entries across 1 versions & 1 rubygems

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