Sha256: 4793ebdbe6a4a7504babb1b3d1ad8f49c0bf23a31c39126ef383471e15e9c998

Contents?: true

Size: 1.32 KB

Versions: 11

Compression:

Stored size: 1.32 KB

Contents

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

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

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

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

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
shoppe-1.1.2 app/views/shoppe/countries/_form.html.haml
shoppe-1.1.1 app/views/shoppe/countries/_form.html.haml
shoppe-1.1.0 app/views/shoppe/countries/_form.html.haml
shoppe-1.0.9 app/views/shoppe/countries/_form.html.haml
shoppe-1.0.8 app/views/shoppe/countries/_form.html.haml
kylekthompson-shoppe-1.0.7 app/views/shoppe/countries/_form.html.haml
shoppe-1.0.7 app/views/shoppe/countries/_form.html.haml
shoppe-1.0.6 app/views/shoppe/countries/_form.html.haml
shoppe-paypal-1.1.0 vendor/bundle/ruby/2.1.0/gems/shoppe-1.0.5/app/views/shoppe/countries/_form.html.haml
shoppe-1.0.5 app/views/shoppe/countries/_form.html.haml
shoppe-1.0.3 app/views/shoppe/countries/_form.html.haml