Sha256: 27678419b5f9876940cdf1765a8d4c5f3e04a4ef25eebc6e5e15b7beff2130ed

Contents?: true

Size: 746 Bytes

Versions: 1

Compression:

Stored size: 746 Bytes

Contents

<div class="inputs-select inputs__container <%= @args[:class] %>">

  <%= render '../../shared/label.html' %>

  <select
    class="inputs__select"
    type="text"
    value="<%= @args[:value] %>"
    name="<%= @args[:name] %>"
    placeholder="<%= @args[:placeholder] %>"
    data-required="<%= @args[:required] %>"
    data-create="<%= @args[:create] %>"
    data-multiple="<%= @args[:multiple] %>"
  >
    <% if @args[:option_blank] %>
      <option value=""></option>
    <% end %>
    <% @options.each do |option| %>
      <option value="<%= option[:value] %>" <%= @args[:value] == option[:value] ? 'selected' : '' %>>
        <%= option[:name] %>
      </option>
    <% end %>
  </select>

  <%= render '../../shared/help.html' %>
  
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lato_core-2.1.2 app/cells/lato_core/inputs/select/views/show.html.erb