= titre_action(controller.action_name,@model_name) = semantic_form_for @as_objet do |f| = f.error_messages = f.inputs :name => @as_options[:legend], :id => "basic" do - @as_options[:edit_fields].each do |field| - field= field.chop.chop.chop if field.ends_with?('_id') = eval "f.input :#{field}" if field != :document = f.actions