=form.semantic_fields_for :menu_content do |content| = content.inputs do -if form.object.id != nil = content.input :title, :as => :string, :label => "Titre :" = content.input :keywords, :as => :string, :label => "Mots clefs :" = content.input :description, :as => :string, :label => "Description :" -else = content.hidden_field :title