6 lines
266 B
Plaintext
6 lines
266 B
Plaintext
<%= simple_form_for @advertisement, :html => {:multipart => true} do |f| %>
|
|
<%= f.input :file, :as => :file %>
|
|
<%= f.input :referral_url, :as => :string %>
|
|
<%= f.input :status, :collection => %w(active inactive) %>
|
|
<%= f.button :submit, "Submit" %>
|
|
<% end %> |