Commit 85c76ac6ff0adffd159cab0664c9058002b8ed9a
1 parent
7c606c01
Exists in
master
and in
22 other branches
custom-forms: include wysiwyg on form description of custom_forms_plugin
AI2778
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
plugins/custom_forms/views/custom_forms_plugin_myprofile/_form.html.erb
| 1 | 1 | <% self.extend(CustomFormsPlugin::Helper) %> |
| 2 | +<%= render :file => 'shared/tiny_mce', :locals => {:mode => 'simple'} %> | |
| 2 | 3 | |
| 3 | 4 | <%= error_messages_for :form %> |
| 4 | 5 | |
| ... | ... | @@ -15,7 +16,7 @@ |
| 15 | 16 | <% if profile.organization? %> |
| 16 | 17 | <%= labelled_form_field _('Triggered on membership'), f.check_box(:on_membership) %> |
| 17 | 18 | <% end %> |
| 18 | - <%= labelled_form_field _('Description'), f.text_area(:description, :style => 'width: 100%') %> | |
| 19 | + <%= labelled_form_field _('Description'), f.text_area(:description, :style => 'width: 100%', :class => 'mceEditor') %> | |
| 19 | 20 | |
| 20 | 21 | <h2><%= _('Fields') %></h2> |
| 21 | 22 | <table class="action-table" id='fields-table'> | ... | ... |