Files
fetsite/app/views/beispiele/_form.html.erb
2013-07-25 16:58:10 +02:00

14 lines
392 B
Plaintext
Executable File

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