Sha256: 6da39141321bd74fbdceeecd7dd603f796c617636d7c6198ada4eaf1a31b114e
Contents?: true
Size: 1.64 KB
Versions: 11
Compression:
Stored size: 1.64 KB
Contents
= form_for @delivery_service do |f| = f.error_messages = field_set_tag t('shoppe.delivery_services.details') do .splitContainer %dl.half %dt= f.label :name, t('shoppe.delivery_services.name') %dd= f.text_field :name, :class => 'focus text' %dl.half %dt= f.label :code, t('shoppe.delivery_services.code') %dd= f.text_field :code, :class => 'text' .splitContainer %dl.half %dt= f.label :active, t('shoppe.delivery_services.active') %dd.checkbox = f.check_box :active = f.label :active, t('shoppe.delivery_services.active_info') %dl.half %dt= f.label :default, t('shoppe.delivery_services.default') %dd.checkbox = f.check_box :default = f.label :default, t('shoppe.delivery_services.default_info') = field_set_tag t('shoppe.delivery_services.courier') do .splitContainer %dl.half %dt= f.label :courier, t('shoppe.delivery_services.courier_name') %dd= f.text_field :courier, :class => 'text' %dl.half %dt= f.label :tracking_url, t('shoppe.delivery_services.tracking_url') %dd = f.text_field :tracking_url, :class => 'text' %p.help= t('shoppe.delivery_services.tracking_url_help_html') %p.submit - unless @delivery_service.new_record? %span.right= link_to t('shoppe.delete'), [@delivery_service], :class => 'button purple', :method => :delete, :data => {:confirm => t('shoppe.delivery_services.delete_confirmation')} = f.submit t('shoppe.submit'), :class => 'button green' = link_to t('shoppe.cancel'), :delivery_services, :class => 'button'
Version data entries
11 entries across 11 versions & 3 rubygems