Skip to content
Browse files

fixed item form to properly use :title for :cost

  • Loading branch information...
1 parent cf9bd50 commit c59b6e75388842530534cd28b440be289f29c573 @chaffeqa committed Jan 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/admin/items/_form.html.erb
View
2 app/views/admin/items/_form.html.erb
@@ -41,7 +41,7 @@
<div class="field">
<%= f.label :cost, "Price" %>
<% val = (@item.cost && @item.cost > 0) ? @item.cost : "0.00" %>
- $ <%= f.text_field :cost, :style => "width: 70px;", :title => val, :value => val %>
+ $ <%= f.text_field :cost, :title => 0.00, :style => "width: 70px;" %>
</div>
<hr />

0 comments on commit c59b6e7

Please sign in to comment.
Something went wrong with that request. Please try again.