Sha256: ed5da52d614fed39d19f9db60a26c5e59bd70592049d4c126e1adcd7cefc85c4

Contents?: true

Size: 662 Bytes

Versions: 2

Compression:

Stored size: 662 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] %>"
  >
    <% 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

2 entries across 2 versions & 1 rubygems

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