Sha256: b1f6348ccff9574cb61bd5d552542b21733b000f51596b2091277bba0153015e

Contents?: true

Size: 1.37 KB

Versions: 9

Compression:

Stored size: 1.37 KB

Contents

= form_for @country do |f|
  = f.error_messages
  = field_set_tag t('kkt_shoppe.countries.country_details') do

    .splitContainer
      %dl.third
        %dt= f.label :name, t('kkt_shoppe.countries.name')
        %dd= f.text_field :name, :class => 'focus text'
      %dl.third
        %dt= f.label :code2, t('kkt_shoppe.countries.iso_alpha_2')
        %dd= f.text_field :code2, :class => 'text'
      %dl.third
        %dt= f.label :code3, t('kkt_shoppe.countries.iso_alpha_3')
        %dd= f.text_field :code3, :class => 'text'

    .splitContainer
      %dl.third
        %dt= f.label :continent, t('kkt_shoppe.countries.continent')
        %dd= f.text_field :continent, :class => 'text'
      %dl.third
        %dt= f.label :tld, t('kkt_shoppe.countries.tld')
        %dd= f.text_field :tld, :class => 'text'
      %dl.third
        %dt= f.label :eu_member, t('kkt_shoppe.countries.eu_member')
        %dd.checkbox
          = f.check_box :eu_member
          = f.label :eu_member, t('kkt_shoppe.countries.is_eu_member')

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

Version data entries

9 entries across 9 versions & 1 rubygems

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