lib/generators/cambium/templates/app/views/admin/edit.html.erb in cambium-0.0.2 vs lib/generators/cambium/templates/app/views/admin/edit.html.erb in cambium-0.2.0

- old
+ new

@@ -1,2 +1,2 @@ <%= form_page :classname => @model.to_s, :index => @routes[:index], - :title => "Edit #{@item.title.to_s}" %> \ No newline at end of file + :title => "Edit #{@item.respond_to?(:title) ? @item.title.to_s : @item.send(@columns.first)}" %>