Editing asset

<% form_for(@asset) do |f| %> <%= f.error_messages %>

<%= f.label :tag %>
<%= f.text_field :tag %>

<%= f.label :name, "Network Name" %>
<%= f.text_field :name %>

<%= f.label :make %>
<%= f.text_field :make %>

<%= f.label :model %>
<%= f.text_field :model %>

<%= f.label :serial %>
<%= f.text_field :serial %>

<%= f.label :category %>
<%= f.text_field :category %>

<%= f.label :warranty, "Warranty Expires" %>
<%= f.date_select :warranty %>

<%= f.label :location %>
<%= f.text_field :location %>

<%= f.label :assigned, "Assigned To" %>
<%= f.text_field :assigned %>

<%= f.label :status %>
<%= f.text_field :status %>

<%= f.label :updated %>
<%= f.date_select :updated %>

<%= f.submit 'Update' %>

<% end %> <%= link_to 'Show', @asset %> | <%= link_to 'Back', assets_path %>