Sha256: 9224fb44fac4a0ea36efb279cf247d64a3cc378c5fd2917755573bcdcfd78cbf

Contents?: true

Size: 644 Bytes

Versions: 1

Compression:

Stored size: 644 Bytes

Contents

- Kuhsaft::Page.translation_locales.each do |locale|
  = link_to locale.to_s, 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, :as => :text
  = 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

1 entries across 1 versions & 1 rubygems

Version Path
kuhsaft-0.0.3 app/views/kuhsaft/admin/pages/_form.html.haml