Company name: <%= f.text_field :title %>
Company Description: <%= f.text_field :notes %>

Information

Phone: <%= f.text_field :phone %>
Fax: <%= f.text_field :fax %>
Email: <%= f.text_field :email %>
Facebook: <%= f.text_field :facebook %>
Twitter: <%= f.text_field :twitter %>
Website: <%= f.text_field :website %>

Proprietor Information

Owner Name: <%= f.text_field :name %>

Supplier Images

<%= f.fields_for :images do |image| %> <% if !image.object.attachment_file_name.nil? %> <%= image_tag(image.object.attachment.url) %> <% else %>

<%= "Upload New Image" %>

<%= image.file_field :attachment if image.object.attachment_file_name.nil? %> <% end %> <% end %>