Commit 98f67e15bb281802504713f1830a2a1cc4061134
1 parent
ca77aeab
Exists in
fix_sign_up_form
should not parse html of block help quick link
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/helpers/boxes_helper.rb
| @@ -285,7 +285,7 @@ module BoxesHelper | @@ -285,7 +285,7 @@ module BoxesHelper | ||
| 285 | end | 285 | end |
| 286 | 286 | ||
| 287 | if block.respond_to?(:help) | 287 | if block.respond_to?(:help) |
| 288 | - buttons << modal_inline_icon(:help, _('Help on this block'), {}, "#help-on-box-#{block.id}") << content_tag('div', content_tag('h2', _('Help')) + content_tag('div', block.help, :style => 'margin-bottom: 1em;') + modal_close_button(_('Close')), :style => 'display: none;', :id => "help-on-box-#{block.id}") | 288 | + buttons << modal_inline_icon(:help, _('Help on this block'), {}, "#help-on-box-#{block.id}") << content_tag('div', content_tag('h2', _('Help')) + content_tag('div', block.help.html_safe, :style => 'margin-bottom: 1em;') + modal_close_button(_('Close')), :style => 'display: none;', :id => "help-on-box-#{block.id}") |
| 289 | end | 289 | end |
| 290 | 290 | ||
| 291 | if block.embedable? | 291 | if block.embedable? |