Files
fetsite/app/views/beispiele/_form.html.erb
Thomas Blazek cc002d4291 Init
2013-07-22 15:49:19 +02:00

13 lines
344 B
Plaintext
Executable File

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