<% creation_type = @creation.class.name.underscore %> <% content_for :message do %>

<%# i18n-tasks-use t('user_mailer.creatorship_notification.intro_chapter') i18n-tasks-use t('user_mailer.creatorship_notification.intro_series')-%> <%= t(".intro_#{creation_type}", adding_user: @adding_user.login, pseud: @creatorship.pseud.name) %>

<%= t(".html.creation", creation_link: "#{style_link(creation_title(@creation), polymorphic_url(@creation))}".html_safe, pseud_links: @creation.pseuds.map{ |p| style_pseud_link(p) }.to_sentence.html_safe).html_safe %>

<%= t ".explanation" %>

<%# i18n-tasks-use t('user_mailer.creatorship_notification.html.remove_chapter') i18n-tasks-use t('user_mailer.creatorship_notification.html.remove_series') i18n-tasks-use t('user_mailer.creatorship_notification.html.edit_chapter') i18n-tasks-use t('user_mailer.creatorship_notification.html.edit_series')-%> <%= t(".html.remove_#{creation_type}", "edit_#{creation_type}_link": style_link(t(".html.edit_#{creation_type}"), edit_polymorphic_url(@creation))).html_safe %>

<% end %>