From 85c76ac6ff0adffd159cab0664c9058002b8ed9a Mon Sep 17 00:00:00 2001 From: Junior Silva Date: Wed, 11 Sep 2013 17:54:49 +0000 Subject: [PATCH] custom-forms: include wysiwyg on form description of custom_forms_plugin --- plugins/custom_forms/views/custom_forms_plugin_myprofile/_form.html.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/custom_forms/views/custom_forms_plugin_myprofile/_form.html.erb b/plugins/custom_forms/views/custom_forms_plugin_myprofile/_form.html.erb index c14a851..d7df52e 100644 --- a/plugins/custom_forms/views/custom_forms_plugin_myprofile/_form.html.erb +++ b/plugins/custom_forms/views/custom_forms_plugin_myprofile/_form.html.erb @@ -1,4 +1,5 @@ <% self.extend(CustomFormsPlugin::Helper) %> +<%= render :file => 'shared/tiny_mce', :locals => {:mode => 'simple'} %> <%= error_messages_for :form %> @@ -15,7 +16,7 @@ <% if profile.organization? %> <%= labelled_form_field _('Triggered on membership'), f.check_box(:on_membership) %> <% end %> - <%= labelled_form_field _('Description'), f.text_area(:description, :style => 'width: 100%') %> + <%= labelled_form_field _('Description'), f.text_area(:description, :style => 'width: 100%', :class => 'mceEditor') %>

<%= _('Fields') %>

-- libgit2 0.21.2