Sha256: 8ca56e5d4147a6031c7b553c90c29f1ab58d53aff00d67bcc269bab2f591dfd1

Contents?: true

Size: 427 Bytes

Versions: 17

Compression:

Stored size: 427 Bytes

Contents

<div class="ariadne-space-y-3">
  <% if label %>
    <label class="<%= style(:label) %>"><%= label %></label>
  <% end %>
  <span class="<%= style(:wrapper) %>">
    <select name="<%= name %>" class="<%= select_styles %>" <%= html_attributes %>>
    <% choices.each do |choice| %>
      <option <%= "selected" if selected?(choice) %> value="<%= choice.value %>"><%= choice.name %></option>
  <% end %>
</select>
</span>
</div>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
ariadne_view_components-0.0.92 app/components/ariadne/form/select/component.html.erb
ariadne_view_components-0.0.91 app/components/ariadne/form/select/component.html.erb
ariadne_view_components-0.0.90 app/components/ariadne/form/select/component.html.erb
ariadne_view_components-0.0.89.1 app/components/ariadne/form/select/component.html.erb
ariadne_view_components-0.0.89 app/components/ariadne/form/select/component.html.erb
ariadne_view_components-0.0.88 app/components/ariadne/form/select/component.html.erb
ariadne_view_components-0.0.87 app/components/ariadne/form/select/component.html.erb
ariadne_view_components-0.0.86.9 app/components/ariadne/form/select/component.html.erb
ariadne_view_components-0.0.86.8 app/components/ariadne/form/select/component.html.erb
ariadne_view_components-0.0.86.7 app/components/ariadne/form/select/component.html.erb
ariadne_view_components-0.0.86.6 app/components/ariadne/form/select/component.html.erb
ariadne_view_components-0.0.86.5 app/components/ariadne/form/select/component.html.erb
ariadne_view_components-0.0.86.4 app/components/ariadne/form/select/component.html.erb
ariadne_view_components-0.0.86.3 app/components/ariadne/form/select/component.html.erb
ariadne_view_components-0.0.86.2 app/components/ariadne/form/select/component.html.erb
ariadne_view_components-0.0.86.1 app/components/ariadne/form/select/component.html.erb
ariadne_view_components-0.0.86 app/components/ariadne/form/select/component.html.erb