Sha256: a15c572251d7cd15fc23b6838dd982c66a41f345042f94c7a544c07aab311e49
Contents?: true
Size: 1.21 KB
Versions: 12
Compression:
Stored size: 1.21 KB
Contents
<div class="card mb-4"> <div class="card-header"> <h5 class="card-title mb-0 h6"> <%= Spree.t(:basic_information) %> </h5> </div> <div class="card-body"> <%= f.field_container :name do %> <%= f.label :name, raw(Spree.t(:name) + required_span_tag) %> <%= f.text_field :name, class: 'form-control', required: true %> <%= f.error_message_on :name %> <% end %> <%= f.field_container :code, data: { hook: 'stores_form_code' } do %> <%= f.label :code, raw(Spree.t(:code) + required_span_tag) %> <%= f.text_field :code, class: 'form-control', required: true %> <small class="form-text text-muted"> <%= Spree.t('admin.store_form.code_help') %> </small> <%= f.error_message_on :code %> <% end %> <%= f.field_container :url, data: { hook: 'stores_form_url' } do %> <%= f.label :url, raw(Spree.t(:url) + required_span_tag) %> <div class="input-group mb-3"> <div class="input-group-prepend"> <span class="input-group-text" id="basic-addon3">https://</span> </div> <%= f.text_field :url, class: 'form-control', required: true %> </div> <%= f.error_message_on :url %> <% end %> </div> </div>
Version data entries
12 entries across 12 versions & 1 rubygems