Sha256: fbd34818c1d33d3701598b3d208a6b34c486fe4ca00e1613903c425a010fd20d

Contents?: true

Size: 475 Bytes

Versions: 3

Compression:

Stored size: 475 Bytes

Contents

%p= t('.title', :name => @account.name, :date => I18n.l(Time.now), :locale => @account.locale)

%hr

%p
  %b= t('.type', :type => @type.name, :locale => @account.locale)
  %br
  %i= @type.description

%hr

%ul
  - @type.entries_custom_fields.each do |field|
    - value = @entry.value_for(field)
    %li
      %strong= field.label
       - 
      %i
        - if field.type == 'file'
          = link_to File.basename(value), value
        - else
          = value

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
locomotive_cms-2.0.0.rc4 app/views/locomotive/notifications/new_content_entry.html.haml
locomotive_cms-2.0.0.rc2 app/views/locomotive/notifications/new_content_entry.html.haml
locomotive_cms-2.0.0.rc1 app/views/locomotive/notifications/new_content_entry.html.haml