This commit is contained in:
wvengen 2015-04-10 18:46:12 +02:00
parent 4239843b3e
commit cf0fcccfc3

View file

@ -12,7 +12,7 @@ module MessagesHelper
def link_to_new_message(options = {})
messages_params = options[:message_params] || nil
link_text = content_tag :id, nil, class: 'icon-envelope'
link_text = content_tag :i, nil, class: 'icon-envelope'
link_text << " #{options[:text]}" if options[:text].present?
link_to(link_text.html_safe, new_message_path(message: messages_params), class: 'btn',
title: I18n.t('helpers.submit.message.create'))