Handle reason as a rich text area when editing a block
This commit is contained in:
parent
3b0ff552de
commit
359371b31c
1 changed files with 1 additions and 1 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, :cols => 80, :rows => 5 %>
|
||||
<%= richtext_area :user_block, :reason, :cols => 80, :rows => 20, :format => @user_block.reason_format %>
|
||||
</p>
|
||||
<p>
|
||||
<%= label_tag 'user_block_period', t('user_block.edit.period') %><br />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue