Sha256: 6c87b03230f6ad09c70540b6c66b6badc8997420dbe162ec4068643916371a58

Contents?: true

Size: 484 Bytes

Versions: 8

Compression:

Stored size: 484 Bytes

Contents

- @page_title = "Settings"

= content_for :header do
  %h2.settings Settings

= form_tag :url => settings_path do |f|

  - Shoppe.settings_groups.each do |group, fields|
    = field_set_tag t(group) do
      - fields.each do |f|
        %dl.sided
          %dt= settings_label f
          %dd
            = settings_field f
            - if v = t("shoppe.settings.help")[f]
              %p.help= v
        
  %p.submit.sided
    = submit_tag "Save Settings", :class => 'button green'

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
shoppe-1.0.2 app/views/shoppe/settings/edit.html.haml
shoppe-1.0.1 app/views/shoppe/settings/edit.html.haml
shoppe-1.0.0 app/views/shoppe/settings/edit.html.haml
shoppe-0.0.21 app/views/shoppe/settings/edit.html.haml
shoppe-0.0.20 app/views/shoppe/settings/edit.html.haml
shoppe-0.0.19 app/views/shoppe/settings/edit.html.haml
shoppe-0.0.18 app/views/shoppe/settings/edit.html.haml
shoppe-0.0.17 app/views/shoppe/settings/edit.html.haml