Sha256: 560d5888abcb7dbef61665d2ec9dcaff7b8f3b4f80b2aa4333774ed22948e701

Contents?: true

Size: 1.74 KB

Versions: 1

Compression:

Stored size: 1.74 KB

Contents

<%= f.field_container :name do %>
  <%= f.label :name, "Name" %><br />
  <%= f.text_field :name, :class => 'title' %>
  <%= error_message_on :retailer, :name %>
<% end %>

<%= f.field_container :address do %>
  <%= f.label :address, "Address" %><br />
  <%= f.text_field :address, :class => 'text' %>
  <%= error_message_on :retailer, :address %>
<% end %>

<%= f.field_container :address2 do %>
  <%= f.label :address2, "Address (cont)" %><br />
  <%= f.text_field :address2, :class => 'text'  %>
  <%= error_message_on :retailer, :address2 %>
<% end %>


<%= f.field_container :city do %>
  <%= f.label :city, "City" %><br />
  <%= f.text_field :city, :class => 'text' %>
  <%= error_message_on :retailer, :city %>
<% end %>

<%= f.field_container :state do %>
  <%= f.label :state, "State" %><br />
  <%= f.select :state, @states %>
  <%= error_message_on :retailer, :state %>
<% end %>


<%= f.field_container :zipcode do %>
  <%= f.label :zipcode, "Zip" %><br />
  <%= f.text_field :zipcode, :class => 'text' %>
  <%= error_message_on :retailer, :zipcode %>
<% end %>



<%= f.field_container :phone do %>
  <%= f.label :phone, "Phone" %><br />
  <%= f.text_field :phone, :class => 'text' %>
  <%= error_message_on :retailer, :phone %>
<% end %>

<%= f.field_container :email do %>
  <%= f.label :email, "Email" %><br />
  <%= f.text_field :email, :class => 'text' %>
  <%= error_message_on :retailer, :email %>
<% end %>

<%= f.field_container :url do %>
  <%= f.label :url, "Website URL" %><br />
  <%= f.text_field :url, :class => 'text' %>
  <%= error_message_on :retailer, :url %>
<% end %>

<%= f.field_container :logo do %>
  <%= f.label :logo, "Logo Image:" %><br />
  <%= f.file_field :logo, :class => 'file' %>
  <%= error_message_on :retailer, :logo %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_retailers-0.50.0.0 app/views/admin/retailers/_form.html.erb