about summary refs log tree commit diff stats
path: root/app/views/updates/_update.html.haml
blob: ceb7d8fdf253201f98ee9da7824db2cccc970e11 (plain) (blame)
1
2
3
4
5
6
%section.stream-update.entry-content{ id: "update-#{update.id}" }
  %header.update-posted
    %time= update.created_at.strftime("%B #{update.created_at.day.ordinalize}, %Y at %-I:%M:%S%P")
    - if user_signed_in? and !update.new_record?
      = link_to "Edit", edit_admin_stream_update_path(update.stream.id, update), :class => "update-edit-link"
  = markdown(update.body)