Sha256: 5c78f22a7e35bd3b9e4a359cb7737901ff5181f15f6cc274eb27aaf4d0aa3821

Contents?: true

Size: 1.15 KB

Versions: 6

Compression:

Stored size: 1.15 KB

Contents

<div class="Polaris-Layout__AnnotatedSection">
  <div class="Polaris-Layout__AnnotationWrapper">
    <div class="Polaris-Layout__Annotation">
      <div class="Polaris-TextContainer">
        <%= capture(&block) %>
      </div>
    </div>
    <div class="Polaris-Layout__AnnotationContent">
      <div class="Polaris-Card">
        <div class="Polaris-Card__Section">
          <div class="Polaris-FormLayout">

            <% attribute.each do |att| %>
            <div class="Polaris-FormLayout__Item">
              <div class="">
                <div class="Polaris-Labelled__LabelWrapper">
                  <div class="Polaris-Label">
                    <%= form.label att, 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" %>
                  <div class="Polaris-TextField__Backdrop"></div>
                </div>
              </div>
            </div>
            <% end %>

          </div>
        </div>
      </div>
    </div>
  </div>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
polaris_view_helpers-0.0.6 app/views/polaris/_annotated_section_text_field.html.erb
polaris_view_helpers-0.0.5 app/views/polaris/_annotated_section_text_field.html.erb
polaris_view_helpers-0.0.4 app/views/polaris/_annotated_section_text_field.html.erb
polaris_view_helpers-0.0.3 app/views/polaris/_annotated_section_text_field.html.erb
polaris_view_helpers-0.0.2 app/views/polaris/_annotated_section_text_field.html.erb
polaris_view_helpers-0.0.1 app/views/polaris/_annotated_section_text_field.html.erb