forked from bofh/fetsite
Beispiele hinzugefügt
This commit is contained in:
12
app/views/beispiele/_form.html.erb
Normal file
12
app/views/beispiele/_form.html.erb
Normal file
@@ -0,0 +1,12 @@
|
||||
<%= 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 %>
|
||||
Reference in New Issue
Block a user