<% form_for(@ad) do |f| %>
  <%= f.error_messages %>

  <div>
    <%= f.label :image_url %>
    <%= f.text_field :image_url %>
  </div>
  <div>
    <%= f.label :referral_url %>
    <%= f.text_field :referral_url %>
  </div>
  <div>
    <%= f.label :ad_type %>
    <%= f.select :ad_type, ['horizontal', 'vertical'] %>
  </div>
  <div>
    <%= f.label :status %>
    <%= f.text_field :status %>
  </div>
  <div>
    <%= f.submit %>
  </div>
<% end %>

<% form_for(@ad) do |f| %>
  <%= f.error_messages %>

  <div>
    <%= f.label :image_url %>
    <%= f.text_field :image_url %>
  </div>
  <div>
    <%= f.label :width %>
    <%= f.text_field :width %>
  </div>
  <div>
    <%= f.label :height %>
    <%= f.text_field :height %>
  </div>
  <div>
    <%= f.label :referral_url %>
    <%= f.text_field :referral_url %>
  </div>
  <div>
    <%= f.label :ad_type %>
    <%= f.select :ad_type, ['horizontal', 'vertical'] %>
  </div>
  <div>
    <%= f.label :status %>
    <%= f.text_field :status %>
  </div>
  <div>
    <%= f.submit %>
  </div>
<% end %>

Allow manual modification of ad's width and height for now.
Allow manual modification of ad's width and height for now.
