Sha256: 9a058eb269750bde6ea6647cc18e231dc3d6b95620a053148fe7f7ca876c6528
Contents?: true
Size: 1.96 KB
Versions: 5
Compression:
Stored size: 1.96 KB
Contents
<%= f.field_container :name do %> <%= f.label :name, class: 'required' %> <%= f.text_field :name, required: true, class: 'fullwidth' %> <%= f.error_message_on :name %> <% end %> <%= f.field_container :code do %> <%= f.label :code, class: 'required' %> <%= f.text_field :code, required: true, class: 'fullwidth' %> <%= f.error_message_on :code %> <% end %> <%= f.field_container :seo_title do %> <%= f.label :seo_title %> <%= f.text_field :seo_title, class: 'fullwidth' %> <%= f.error_message_on :seo_title %> <% end %> <%= f.field_container :meta_keywords do %> <%= f.label :meta_keywords %> <%= f.text_field :meta_keywords, class: 'fullwidth' %> <%= f.error_message_on :meta_keywords %> <% end %> <%= f.field_container :meta_description do %> <%= f.label :meta_description %> <%= f.text_field :meta_description, class: 'fullwidth' %> <%= f.error_message_on :meta_description %> <% end %> <%= f.field_container :url do %> <%= f.label :url, class: 'required' %> <%= f.text_field :url, required: true, class: 'fullwidth' %> <%= f.error_message_on :url %> <% end %> <%= f.field_container :mail_from_address do %> <%= f.label :mail_from_address, class: 'required' %> <%= f.text_field :mail_from_address, required: true, class: 'fullwidth' %> <%= f.error_message_on :mail_from_address %> <% end %> <%= f.field_container :default_currency do %> <%= f.label :default_currency %> <%= f.select :default_currency, ::Money::Currency.all.map(&:iso_code), { include_blank: true }, { class: 'select2 fullwidth' } %> <%= f.error_message_on :default_currency %> <% end %> <%= f.field_container :cart_tax_country_iso do %> <%= f.label :cart_tax_country_iso %> <%= f.field_hint :cart_tax_country_iso %> <%= f.select :cart_tax_country_iso, Spree::Country.all.map { |c| [c.name, c.iso] }, { include_blank: t(".no_cart_tax_country") }, { class: "custom-select fullwidth" } %> <%= f.error_message_on :cart_tax_country_iso %> <% end %>
Version data entries
5 entries across 5 versions & 1 rubygems