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 "Update" %>
<% end %> <%= link_to 'Show', supplier_path(@supplier) %> | <%= link_to 'Back', suppliers_path %>