Sha256: 5371719803a06d7bd1c1878adbc7c9ea850fffd652a3e339e4afdc4c352b76e1
Contents?: true
Size: 1.43 KB
Versions: 1
Compression:
Stored size: 1.43 KB
Contents
= form_for @product_category do |f| = f.error_messages .panel.panel-default .panel-heading = t('tienda.product_category.category_details') .panel-body .row .col-md-6 .form-group = f.label :name, t('tienda.product_category.name') = f.text_field :name, class: 'focus form-control' .col-md-6 .form-group = f.label :permalink, t('tienda.product_category.permalink') = f.text_field :permalink, class: 'form-control' .row .col-md-12 .form-group = f.label :description, t('tienda.product_category.description') = f.text_area :description, class: 'form-control' .panel.panel-default .panel-heading = t('tienda.product_category.attachments') .panel-body .row .col-md-12 = f.label :image_file, t('tienda.product_category.image') %div = attachment_preview @product_category.image %p= f.file_field :image_file, class: 'form-control' .panel.panel-default .panel-body - unless @product_category.new_record? %span.pull-right= link_to t('tienda.delete') , @product_category, class: 'btn btn-danger', method: :delete, data: {confirm: t('tienda.product_category.delete_confirmation') } = f.submit t('tienda.submit'), class: 'btn btn-primary' = link_to t('tienda.cancel') , :product_categories, class: 'btn btn-default'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tienda-2.0.1 | app/views/tienda/product_categories/_form.html.haml |