Skip to content

Commit

Permalink
Adding style suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
vinniefranco committed Oct 5, 2015
1 parent fb57ecd commit 1dc1c68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -6,7 +6,7 @@ require 'spree/testing_support/common_rake'

RSpec::Core::RakeTask.new

task default: [:spec]
task :default => [:spec]

desc "Generates a dummy app for testing"
task :test_app do
Expand Down
4 changes: 2 additions & 2 deletions app/views/spree/admin/orders/_assemblies.html.erb
Expand Up @@ -20,7 +20,7 @@
<td class="item-image"><%= mini_image(item.variant) %></td>
<td class="item-name">
<%= item.product.name %> - <%= item.variant.sku %> <br />
<%= "(" + variant_options(item.variant) + ")" unless item.variant.option_values.empty? %>
<%= "(" + variant_options(item.variant) + ")" if item.variant.option_values.any? %>
</td>
<td class="item-price align-center">
<%= item.single_money.to_html %>
Expand All @@ -30,7 +30,7 @@
</td>

<td class="line-item-qty-edit is-hidden">
<%= number_field_tag :quantity, item.quantity, :min => 0, class: "form-control line_item_quantity", :size => 5 %>
<%= number_field_tag :quantity, item.quantity, :min => 0, :class => "form-control line_item_quantity", :size => 5 %>
</td>

<td class="item-total align-center">
Expand Down

0 comments on commit 1dc1c68

Please sign in to comment.