Sha256: 88ca5661526848169b12b30a1f1da664743bf782cc3f25aa32bb20a9a3b402a3
Contents?: true
Size: 1 KB
Versions: 1
Compression:
Stored size: 1 KB
Contents
.row = form_for @address, url: add_address_path, method: :post do |f| .form-group = f.text_field :first_name, class: 'form-control', placeholder: t('shopping_cart.first_name'), required: true .form-group = f.text_field :last_name, class: 'form-control', placeholder: t('shopping_cart.last_name'), required: true .form-group = f.text_field :city, class: 'form-control', placeholder: t('shopping_cart.city') .form-group = f.text_field :phone, class: 'form-control phone', placeholder: t('shopping_cart.phone'), required: true .form-group = f.text_area :details, class: 'form-control phone', placeholder: t('shopping_cart.details') = f.submit nil, class: 'btn btn-primary' .row .col-lg-12.col-md-12.col-sm-12 -if @address.errors.any? %ul.alert.alert-danger{role: 'alert'} -@address.errors.full_messages.each do |msg| %li %span.glyphicon.glyphicon-exclamation-sign{aria:{hidden: true}} =msg .col-lg-4.col-md-4.col-sm-4
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shopping_cart-0.1.0 | app/views/shopping_cart/checkout/index.html.haml |