22 lines
910 B
Plaintext
22 lines
910 B
Plaintext
-lang = lang || LangSite.first
|
|
=form.semantic_fields_for :menu_content do |content|
|
|
|
|
= content.inputs do
|
|
|
|
=content.semantic_fields_for :lang_pages do |lang_page|
|
|
|
|
-if lang_page.object.lang_site == lang
|
|
= lang_page.inputs do
|
|
|
|
= lang_page.hidden_field :lang_site_id
|
|
= lang_page.input :title, :as => :string, :label => "Titre :"
|
|
= lang_page.input :keywords, :as => :string, :label => "Mots clefs :"
|
|
= lang_page.input :description, :label => "Description :"
|
|
|
|
=# lang_page.input :fb_title, :as => :string, :label => "Titre pour réseaux (exceptions):"
|
|
= lang_page.input :twitter_title, :as => :string, :label => "Titre pour twitter (exceptions):"
|
|
= lang_page.input :without_text_image_file_id, :label => "Image sans texte (réseaux) :" , :as => :qi_image_select
|
|
|
|
|
|
|
|
|