<%= f.error_messages %>
In Category / Categoria:

For Town / Por Pueblo:


With First Line / Primera Linea:
<%= text_field(:deal_info, :headline) %>
Second Line / Segunda Linea:
<%= text_field(:deal_info, :subhead) %>

Description / DescripciĆ³n:
<%= text_area(:deal_info, :description) %>
Contact Email / Correo Electronico:
<%= f.text_field :contact_email %>
<% unless (params[:action] == "edit" || params[:action] == "update") && params[:controller] == "deals" %> Confirm Email / Confirmar Correo:
<%= f.text_field :contact_email_confirmation %>
<%- end %> Contact Phone / Telefono Contacto:
<%= f.text_field "contact_phone" %>
Contact Name / Nombre Contacto:
<%= f.text_field "contact_name" %>
Website / Sitio:
<%= f.text_field "contact_website" , :value => "http://" %>

<% @deal.images.each do |img| %>
<%= image_tag(img.data.url(:thumb)) %> <%= check_box_tag "delete_image_ids[]", img.id %>
<% end unless @deal.images.first.new_record? rescue nil %> <%= render :partial => "image", :collection => @deal.images %>

<%= link_to_function "Add Another Image" do |p| p.insert_html :bottom, :images, :partial => 'image', :object => Image.new p << "toggle_image_button();" end %>


Commission / ComisiĆ³n %: <%= f.select("commission", (1..99).collect { |p| ["#{p} %", p] }, :include_blank => true) %>