Sha256: 6b42072520f5127ebc9ab74b98e5a253c9af449ed2a5e2b0be922a65d0a027c4

Contents?: true

Size: 596 Bytes

Versions: 3

Compression:

Stored size: 596 Bytes

Contents

<% attribute.each do |att| %>
  <div class="Polaris-FormLayout__Item">
    <div class="">
      <div class="Polaris-Labelled__LabelWrapper">
        <div class="Polaris-Label">
          <%= form.label att, options[:label], class: 'Polaris-Label__Text' %>
        </div>
      </div>
      <div class="Polaris-TextField">
        <%= form.send element_type, att, id: "#{form.object.class.name.tableize.singularize}_#{att}", class: "Polaris-TextField__Input", placeholder: options[:placeholder] %>
        <div class="Polaris-TextField__Backdrop"></div>
      </div>
    </div>
  </div>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
polaris_view_helpers-0.0.10 app/views/polaris/_text_field.html.erb
polaris_view_helpers-0.0.9 app/views/polaris/_text_field.html.erb
polaris_view_helpers-0.0.8 app/views/polaris/_text_field.html.erb