<%= semantic_form_for @themengruppe do |f| %> <%= f.inputs do %> <%= f.input :title %> <%= f.input :priority %> <%= f.input :picture, :as => :file %> <%= f.input :text %> <% end %> <%= f.actions do %> <%= f.action :submit, :as => :input %> <% end %> <% end %>