Sha256: cc7f2d0479d2c60b50ae05a0e01f2ad38ccd825301302fee15da8245a15c35f6
Contents?: true
Size: 1.9 KB
Versions: 12
Compression:
Stored size: 1.9 KB
Contents
<div data-hook="admin_inside_taxon_form"> <div class="row"> <div class="col-xs-12 col-md-5"> <%= f.field_container :name, class: ['form-group'] do %> <%= f.label :name, Spree.t(:name) %> <span class="required">*</span> <%= text_field :taxon, :name, class: 'form-control' %> <%= f.error_message_on :name, class: 'error-message' %> <% end %> <%= f.field_container :permalink, class: ['form-group'] do %> <%= label_tag :permalink_part, Spree.t(:permalink) %> <span class="required">*</span> <%= text_field_tag :permalink_part, @permalink_part, class: 'form-control', required: true %> <p class="help-block" id="permalink_part_display"> <%= @taxon.permalink.split('/')[0...-1].join('/') + '/' %> </p> <% end %> <%= f.field_container :icon, class: ['form-group'] do %> <%= f.label :icon, Spree.t(:icon) %> <%= image_tag @taxon.icon.try(:attachment).to_s %> <%= f.file_field :icon %> <% end %> </div> <div class="col-xs-12 col-md-7"> <%= f.field_container :description, class: ['form-group'] do %> <%= f.label :description, Spree.t(:description) %> <%= f.text_area :description, class: 'form-control', rows: 6 %> <% end %> </div> </div> <%= f.field_container :meta_title, class: ['form-group'] do %> <%= f.label :meta_title, Spree.t(:meta_title) %> <%= f.text_field :meta_title, class: 'form-control', rows: 6 %> <% end %> <%= f.field_container :meta_description, class: ['form-group'] do %> <%= f.label :meta_description, Spree.t(:meta_description) %> <%= f.text_field :meta_description, class: 'form-control', rows: 6 %> <% end %> <%= f.field_container :meta_keywords, class: ['form-group'] do %> <%= f.label :meta_keywords, Spree.t(:meta_keywords) %> <%= f.text_field :meta_keywords, class: 'form-control', rows: 6 %> <% end %> </div>
Version data entries
12 entries across 12 versions & 1 rubygems