<%= semantic_form_for @beispiel, :html => { :multipart => true } do |f| %> <%= f.inputs do %>
<%= f.file_field :beispieldatei, :label=>"Beispiel"%>
<%=f.input :datum%>
<%= f.input :desc %>
<%= f.hidden_field :beispieldatei_cache %>
<%= f.input :lva, :as=>:radio, :collection => Lva.all%>
<% end %> <%= f.actions do %> <%= f.action :submit, :as => :input %> <% end %> <% end %>