From 359371b31c33d062ca31c4cc48876c81e4e6ef26 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 19 Mar 2012 11:24:47 +0000 Subject: [PATCH] Handle reason as a rich text area when editing a block --- app/views/user_blocks/edit.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/user_blocks/edit.html.erb b/app/views/user_blocks/edit.html.erb index a50ac75d7..d78bd11d8 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, :cols => 80, :rows => 5 %> + <%= richtext_area :user_block, :reason, :cols => 80, :rows => 20, :format => @user_block.reason_format %>

<%= label_tag 'user_block_period', t('user_block.edit.period') %>
-- 2.43.2