Files
danbooru/app/views/advertisements/_form.html.erb
2010-12-01 17:21:05 -05:00

7 lines
306 B
Plaintext

<%= simple_form_for @advertisement, :html => {:multipart => true} do |f| %>
<%= f.input :file, :as => :file %>
<%= f.input :referral_url %>
<%= f.input :ad_type, :collection => %w(vertical horizontal) %>
<%= f.input :status, :collection => %w(active inactive) %>
<%= f.button :submit %>
<% end %>