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:
parent
8217c55523
commit
efc2a3fa47
2 changed files with 2 additions and 2 deletions
|
@ -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 />
|
||||
|
|
|
@ -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 />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue