From efc2a3fa477f47b3c3c812fa32af5680f0632f4f Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Thu, 1 Oct 2009 20:29:17 +0000 Subject: [PATCH] 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 --- app/views/user_blocks/edit.html.erb | 2 +- app/views/user_blocks/new.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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') %>
-- 2.39.5