engine/app/views/locomotive/notifications/new_content_instance.html.haml

22 lines
527 B
Plaintext
Raw Normal View History

%p= t('.title', :name => @account.name, :date => I18n.l(Time.now), :locale => @account.locale)
%hr
%p
%b= t('.type', :type => @content.content_type.name, :locale => @account.locale)
%br
%i= @content.content_type.description
%hr
%ul
- @content.custom_fields.each do |field|
%li
%strong= field.label
 - 
2011-07-28 14:42:16 +00:00
%i
- if field.file?
= link_to File.basename(@content.send(field._name).url), @content.send(field._name).url
- else
= @content.send(field._alias)