diff --git a/app/views/admin/e_paper_criterias/emailer.html.erb b/app/views/admin/e_paper_criterias/emailer.html.erb index 0290fd3..b02694e 100644 --- a/app/views/admin/e_paper_criterias/emailer.html.erb +++ b/app/views/admin/e_paper_criterias/emailer.html.erb @@ -177,14 +177,16 @@ <%= paper.title %> <% end %>
-
- - <%= t('e_paper.title') %>: - -

- " target="_blank"><%= paper.title %> -

-
+ <% if paper.title.present? %> +
+ + <%= t('e_paper.title') %>: + +

+ " target="_blank"><%= paper.title %> +

+
+ <% end %>
<%= t('e_paper.description') %>: @@ -220,11 +222,13 @@ <%= paper.title %> <% end %>
- + <% if paper.title.present? %> + + <% end %>
<%= paper.content.html_safe %>