Sha256: e7ef5718205580d83da72262a0e1586f159f05f3fc39730f79f890a096ba497f

Contents?: true

Size: 1.39 KB

Versions: 38

Compression:

Stored size: 1.39 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-Select">
                  <%= form.send(element_type, att, select_options, {}, id: "#{form.object.class.name.tableize.singularize}_#{att}", class: "Polaris-Select__Input") %>
                  <div class="Polaris-Select__Icon"><span class="Polaris-Icon"><svg class="Polaris-Icon__Svg" viewBox="0 0 20 20"><path d="M13 8l-3-3-3 3h6zm-.1 4L10 14.9 7.1 12h5.8z" fill-rule="evenodd"></path></svg></span></div>
                  <div class="Polaris-Select__Backdrop"></div>
                </div>
              </div>
            </div>
            <% end %>

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

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
polaris_view_helpers-1.2.11 app/views/polaris/_annotated_section_select.html.erb
polaris_view_helpers-1.2.10 app/views/polaris/_annotated_section_select.html.erb
polaris_view_helpers-1.2.9 app/views/polaris/_annotated_section_select.html.erb
polaris_view_helpers-1.2.8 app/views/polaris/_annotated_section_select.html.erb
polaris_view_helpers-1.2.7 app/views/polaris/_annotated_section_select.html.erb
polaris_view_helpers-1.2.6 app/views/polaris/_annotated_section_select.html.erb
polaris_view_helpers-1.2.5 app/views/polaris/_annotated_section_select.html.erb
polaris_view_helpers-1.2.4 app/views/polaris/_annotated_section_select.html.erb
polaris_view_helpers-1.2.3 app/views/polaris/_annotated_section_select.html.erb
polaris_view_helpers-1.2.2 app/views/polaris/_annotated_section_select.html.erb
polaris_view_helpers-1.2.1 app/views/polaris/_annotated_section_select.html.erb
polaris_view_helpers-1.2.0 app/views/polaris/_annotated_section_select.html.erb
polaris_view_helpers-1.1.6 app/views/polaris/_annotated_section_select.html.erb
polaris_view_helpers-1.1.5 app/views/polaris/_annotated_section_select.html.erb
polaris_view_helpers-1.0.5 app/views/polaris/_annotated_section_select.html.erb
polaris_view_helpers-1.0.4 app/views/polaris/_annotated_section_select.html.erb
polaris_view_helpers-1.0.3 app/views/polaris/_annotated_section_select.html.erb
polaris_view_helpers-1.0.2 app/views/polaris/_annotated_section_select.html.erb
polaris_view_helpers-1.0.1 app/views/polaris/_annotated_section_select.html.erb
polaris_view_helpers-1.0.0 app/views/polaris/_annotated_section_select.html.erb