Sha256: 4adc5d1d7b60ff6edaeaeabe4fb140e07bf57ad25e348d40902da8f5b315921a

Contents?: true

Size: 635 Bytes

Versions: 3

Compression:

Stored size: 635 Bytes

Contents

- Kuhsaft::Page.translation_locales.each do |locale|
  = link_to locale.to_s, link_url.call(:translation_locale => locale), :class => 'button'
= simple_form_for @page, :url => url.call(:translation_locale => Kuhsaft::Page.current_translation_locale) do |f|
  %p= t('kuhsaft.admin.pages.current_translation_locale', :translation_locale => Kuhsaft::Page.current_translation_locale)
  = f.input :title
  = f.input :slug
  = f.input :keywords
  = f.input :description
  = f.input :body, :as => :text
  = f.input :parent_id, :as => :hidden, :input_html => { :value => params[:parent_id] } if params[:parent_id].present?
  = f.button :submit

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kuhsaft-0.0.6 app/views/kuhsaft/admin/pages/_form.html.haml
kuhsaft-0.0.5 app/views/kuhsaft/admin/pages/_form.html.haml
kuhsaft-0.0.4 app/views/kuhsaft/admin/pages/_form.html.haml