Commit 9b83cde899f197a2a7f2e40cbb640de595943eb1
1 parent
db3c2732
Exists in
master
and in
28 other branches
ActionItem288: resize product description field
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1662 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/manage_products/_form.rhtml
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | <% form_for :product, @product, :html => {:multipart => true }, :url => {:action => mode} do |f| %> | 3 | <% form_for :product, @product, :html => {:multipart => true }, :url => {:action => mode} do |f| %> |
4 | <%= display_form_field( _('Name:'), f.text_field(:name) ) %> | 4 | <%= display_form_field( _('Name:'), f.text_field(:name) ) %> |
5 | <%= display_form_field( _('Price:'), f.text_field(:price) ) %> | 5 | <%= display_form_field( _('Price:'), f.text_field(:price) ) %> |
6 | - <%= display_form_field( _('Description:'), f.text_area(:description) ) %> | 6 | + <%= display_form_field( _('Description:'), f.text_area(:description, :rows => 10) ) %> |
7 | <%= display_form_field( _('Image:'), (render :partial => @product.image && @product.image.valid? ? 'show_thumbnail' : 'change_image') ) %> | 7 | <%= display_form_field( _('Image:'), (render :partial => @product.image && @product.image.valid? ? 'show_thumbnail' : 'change_image') ) %> |
8 | 8 | ||
9 | <div id='subcategories'> | 9 | <div id='subcategories'> |