Sha256: 63a142a21390c12a75efc0ec7d3919a5c75defc517c135b6661cc309ad9df303

Contents?: true

Size: 1.7 KB

Versions: 9

Compression:

Stored size: 1.7 KB

Contents

= form_for @delivery_service do |f|
  = f.error_messages
  = field_set_tag t('kkt_shoppe.delivery_services.details') do
    .splitContainer
      %dl.half
        %dt= f.label :name, t('kkt_shoppe.delivery_services.name')
        %dd= f.text_field :name, :class => 'focus text'
      %dl.half
        %dt= f.label :code, t('kkt_shoppe.delivery_services.code')
        %dd= f.text_field :code, :class => 'text'
    .splitContainer
      %dl.half
        %dt= f.label :active, t('kkt_shoppe.delivery_services.active')
        %dd.checkbox
          = f.check_box :active
          = f.label :active,  t('kkt_shoppe.delivery_services.active_info')
      %dl.half
        %dt= f.label :default, t('kkt_shoppe.delivery_services.default')
        %dd.checkbox
          = f.check_box :default
          = f.label :default,  t('kkt_shoppe.delivery_services.default_info')

  = field_set_tag  t('kkt_shoppe.delivery_services.courier') do
    .splitContainer
      %dl.half
        %dt= f.label :courier,  t('kkt_shoppe.delivery_services.courier_name')
        %dd= f.text_field :courier, :class => 'text'
      %dl.half
        %dt= f.label :tracking_url,  t('kkt_shoppe.delivery_services.tracking_url')
        %dd
          = f.text_field :tracking_url, :class => 'text'
          %p.help=  t('kkt_shoppe.delivery_services.tracking_url_help_html')

  %p.submit
    - unless @delivery_service.new_record?
      %span.right= link_to  t('kkt_shoppe.delete'), [@delivery_service], :class => 'button purple', :method => :delete, :data => {:confirm => t('kkt_shoppe.delivery_services.delete_confirmation')}
    = f.submit t('kkt_shoppe.submit'), :class => 'button green'
    = link_to t('kkt_shoppe.cancel'), :delivery_services, :class => 'button'

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
kkt_shoppe-2.0.2 app/views/kkt_shoppe/delivery_services/_form.html.haml
kkt_shoppe-2.0.1 app/views/kkt_shoppe/delivery_services/_form.html.haml
kkt_shoppe-2.0.0 app/views/kkt_shoppe/delivery_services/_form.html.haml
kkt_shoppe-1.3.0 app/views/kkt_shoppe/delivery_services/_form.html.haml
kkt_shoppe-1.2.1 app/views/kkt_shoppe/delivery_services/_form.html.haml
kkt_shoppe-1.2.0 app/views/kkt_shoppe/delivery_services/_form.html.haml
kkt_shoppe-1.1.2 app/views/kkt_shoppe/delivery_services/_form.html.haml
kkt_shoppe-1.1.1 app/views/kkt_shoppe/delivery_services/_form.html.haml
kkt_shoppe-1.1.0 app/views/kkt_shoppe/delivery_services/_form.html.haml