Files
fetsite/app/views/news_mailer/daily_reminder.html.erb
2015-08-27 16:03:04 +02:00

14 lines
407 B
Plaintext

<%= stylesheet_link_tag "http://"+ActionMailer::Base.default_url_options[:host].to_s + "/assets/themes/blue2/application.css", :media=>"all" %>
<% @calentries.each do |ce| %>
<% if can?(:show , ce.object) %>
<hr/>
<h1> <%= render partial: "calentries/mail", object: ce %>
</h1>
<%= render partial: "neuigkeiten/mail", object: ce.object if ce.object.kind_of?(Neuigkeit)%>
<% end %>
<% end %>
<hr/>