Permalink
Browse files

adds maintained_by

  • Loading branch information...
1 parent 7c7310f commit 21b197d91785d18dfa815729e6b3838da396d75a @chaserx chaserx committed Jul 8, 2012
@@ -6,6 +6,7 @@
<%= f.input :type %>
<%= f.input :desc %>
<%= f.input :donated_by %>
+ <%= f.input :maintained_by %>
<%= f.input :date_collected %>
<%= f.input :time_checked_in %>
<%= f.input :time_checked_out %>
@@ -19,7 +19,10 @@
<b>Donated By:</b>
<%= @item.donated_by %>
</p>
-
+<p>
+ <b>Maintained By:</b>
+ <%= @item.maintained_by %>
+</p>
<p>
<b>Date collected:</b>
<%= @item.date_collected %>
@@ -0,0 +1,5 @@
+class AddMaintainedByToItems < ActiveRecord::Migration
+ def change
+ add_column :items, :maintained_by, :string
+ end
+end

0 comments on commit 21b197d

Please sign in to comment.