Sha256: 22a4c06350f907320d4fd5c0e55a791a83c1b386dc6d82aa56f606912c3f8453
Contents?: true
Size: 1.68 KB
Versions: 10
Compression:
Stored size: 1.68 KB
Contents
<div data-hook="admin_inside_taxon_form" class="row"> <div class="col-5"> <%= f.field_container :name do %> <%= f.label :name, class: 'required' %><br /> <%= text_field :taxon, :name, class: 'fullwidth' %> <%= error_message_on :taxon, :name, class: 'fullwidth title' %> <% end %> <%= f.field_container :permalink_part do %> <%= label_tag :permalink_part, Spree::Taxon.human_attribute_name(:permalink), class: 'required' %><br /> <div class="input-group"> <% if @taxon.parent %> <div class="input-group-prepend"> <span class="input-group-text"> <%= @taxon.permalink.split('/')[0...-1].join('/') + '/' %> </span> </div> <% end %> <%= text_field_tag :permalink_part, @permalink_part, class: 'fullwidth form-control' %><br /> </div> <% end %> <%= render "spree/admin/taxons/attachment_forms/#{f.object.attachment_partial_name}", f: f %> </div> <div class="col-5"> <%= f.field_container :description do %> <%= f.label :description %><br /> <%= f.text_area :description, class: 'fullwidth', rows: 6 %> <% end %> </div> <div class="col-10"> <%= f.field_container :meta_title do %> <%= f.label :meta_title %><br /> <%= f.text_field :meta_title, class: 'fullwidth' %> <% end %> <%= f.field_container :meta_description do %> <%= f.label :meta_description %><br /> <%= f.text_field :meta_description, class: 'fullwidth' %> <% end %> <%= f.field_container :meta_keywords do %> <%= f.label :meta_keywords %><br /> <%= f.text_field :meta_keywords, class: 'fullwidth' %> <% end %> </div> </div>
Version data entries
10 entries across 10 versions & 1 rubygems