Commit 219df8562b332c6d2bbb63ecc0c6174a83ce09ad
1 parent
3165815c
Exists in
master
and in
29 other branches
Added formlabel class
(ActionItem2320)
Showing
2 changed files
with
3 additions
and
3 deletions
Show diff stats
app/views/manage_products/_edit_info.rhtml
@@ -22,7 +22,7 @@ | @@ -22,7 +22,7 @@ | ||
22 | <td class='formfield'><%= labelled_radio_button( _('Yes'), 'product[available]', true, @product.available, :id => 'product_available') + labelled_radio_button( _('No'), 'product[available]', false, !@product.available) %></td> | 22 | <td class='formfield'><%= labelled_radio_button( _('Yes'), 'product[available]', true, @product.available, :id => 'product_available') + labelled_radio_button( _('No'), 'product[available]', false, !@product.available) %></td> |
23 | </tr> | 23 | </tr> |
24 | <tr> | 24 | <tr> |
25 | - <td><%= f.label :highlighted, _('Highlight product') %></td> | 25 | + <td><%= f.label :highlighted, _('Highlight this product?'), :class => 'formlabel' %></td> |
26 | <td class='formfield'><%= f.check_box(:highlighted) %></td> | 26 | <td class='formfield'><%= f.check_box(:highlighted) %></td> |
27 | </tr> | 27 | </tr> |
28 | </table> | 28 | </table> |
features/manage_products.feature
@@ -538,5 +538,5 @@ Feature: manage products | @@ -538,5 +538,5 @@ Feature: manage products | ||
538 | And I am logged in as "joaosilva" | 538 | And I am logged in as "joaosilva" |
539 | When I go to Rede Moinho's page of product Bike | 539 | When I go to Rede Moinho's page of product Bike |
540 | And I follow "Add price and other basic information" | 540 | And I follow "Add price and other basic information" |
541 | - Then I should see "Highlight product" | ||
542 | - And I check "Highlight product" | 541 | + Then I should see "Highlight this product?" |
542 | + And I check "Highlight this product?" |