automatically identify ad type

This commit is contained in:
albert
2011-12-21 18:41:17 -05:00
parent 5e3b243b67
commit 67448d4636
4 changed files with 10 additions and 5 deletions

View File

@@ -1,7 +1,6 @@
<%= 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 :referral_url, :as => :string %>
<%= f.input :status, :collection => %w(active inactive) %>
<%= f.button :submit %>
<%= f.button :submit, "Submit" %>
<% end %>