From: Ævar Arnfjörð Bjarmason Date: Thu, 1 Oct 2009 20:29:17 +0000 (+0000) Subject: Set a limit on the new/edit block text area. Make it as big as diary X-Git-Tag: live~6599^2~8 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/efc2a3fa477f47b3c3c812fa32af5680f0632f4f Set a limit on the new/edit block text area. Make it as big as diary comments instead of the insane default rails size of 40/20 cols/rows --- diff --git a/app/views/user_blocks/edit.html.erb b/app/views/user_blocks/edit.html.erb index c52c94818..387335d9d 100644 --- a/app/views/user_blocks/edit.html.erb +++ b/app/views/user_blocks/edit.html.erb @@ -9,7 +9,7 @@

<%= f.label :reason, t('user_block.edit.reason', :name => h(@user_block.user.display_name)) %>
- <%= f.text_area :reason %> + <%= f.text_area :reason, :cols => 80, :rows => 5 %>

<%= label_tag 'user_block_period', t('user_block.edit.period') %>
diff --git a/app/views/user_blocks/new.html.erb b/app/views/user_blocks/new.html.erb index d4fd7da00..3d3e6855c 100644 --- a/app/views/user_blocks/new.html.erb +++ b/app/views/user_blocks/new.html.erb @@ -9,7 +9,7 @@

<%= f.label :reason, t('user_block.new.reason', :name => @this_user.display_name) %>
- <%= f.text_area :reason %> + <%= f.text_area :reason, :cols => 80, :rows => 5 %>

<%= label_tag 'user_block_period', t('user_block.new.period') %>