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
This commit is contained in:
Ævar Arnfjörð Bjarmason 2009-10-01 20:29:17 +00:00
parent 8217c55523
commit efc2a3fa47
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@
<p>
<%= f.label :reason, t('user_block.edit.reason', :name => h(@user_block.user.display_name)) %><br />
<%= f.text_area :reason %>
<%= f.text_area :reason, :cols => 80, :rows => 5 %>
</p>
<p>
<%= label_tag 'user_block_period', t('user_block.edit.period') %><br />

View file

@ -9,7 +9,7 @@
<p>
<%= f.label :reason, t('user_block.new.reason', :name => @this_user.display_name) %><br />
<%= f.text_area :reason %>
<%= f.text_area :reason, :cols => 80, :rows => 5 %>
</p>
<p>
<%= label_tag 'user_block_period', t('user_block.new.period') %><br />