New supplier

<%= error_messages_for :supplier %> <% form_for(:supplier, :url => suppliers_path) do |f| %>

Name
<%= f.text_field :name %>

Description
<%= f.text_area :description %>

Code
<%= f.text_field :code %>

Created at
<%= f.datetime_select :created_at %>

Updated at
<%= f.datetime_select :updated_at %>

<%= submit_tag "Create" %>

<% end %> <%= link_to 'Back', suppliers_path %>