Skip to content

Commit

Permalink
added 'display' column to form fields so that the display can be input
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyjoh committed Jul 16, 2009
1 parent abdcf6f commit f617d2b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app/views/admin/variants/_volume_price.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@
<td valign="top"><%=@variant.product.name %></td>
<td valign="top"><%=variant_options @variant %></td>
<td valign="top">
<%= f.error_message_on(:range) %>
<%#= f.error_message_on(:display) %>
<%=f.text_field(:display, :size => 10)%>
</td>
<td valign="top">
<%#= f.error_message_on(:range) %>
<%=f.text_field(:range, :size => 10)%>
</td>
<td valign="top">
<%= f.error_message_on(:amount) %>
<%#= f.error_message_on(:amount) %>
<%=f.text_field(:amount, :size => 10)%>
</td>
<td valign="top"><%= f.remove_link t("Delete") %></td>
Expand Down
1 change: 1 addition & 0 deletions app/views/admin/variants/edit.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<th><%=t("SKU")%></th>
<th width="150"><%=t("Product")%></th>
<th><%=t("Variant")%></th>
<th><%=t("Display")%></th>
<th><%=t("Range")%></th>
<th><%=t("Amount")%></th>
<th><%=t("Actiion")%></th>
Expand Down

0 comments on commit f617d2b

Please sign in to comment.