Sha256: bfc9c4b1a98759964ba017b005ba61c1909c4524e9b667bfb608071be08e78e3

Contents?: true

Size: 537 Bytes

Versions: 4

Compression:

Stored size: 537 Bytes

Contents

- Kuhsaft::Page.translation_locales.each do |locale|
  = link_to locale.to_s, edit_admin_page_path(:locale => locale), :class => 'button'
  
= simple_form_for @page, :url => edit_admin_page_path(@page), :html => { :method => :get } do |form|
  = form.input :page_part_type, :collection => Kuhsaft::PagePart::Content.page_part_types, :label_method => :to_name, :value_method => :to_s
  = form.button :submit, :name => :add_page_part, :value => t('.add_page_part')
= render :partial => 'form', :locals => { :url => admin_page_path(@page) }

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kuhsaft-0.1.1 app/views/kuhsaft/admin/pages/edit.html.haml
kuhsaft-0.1.0 app/views/kuhsaft/admin/pages/edit.html.haml
kuhsaft-0.0.8 app/views/kuhsaft/admin/pages/edit.html.haml
kuhsaft-0.0.7 app/views/kuhsaft/admin/pages/edit.html.haml