mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-03-28 03:34:22 -04:00
25 lines
713 B
Plaintext
25 lines
713 B
Plaintext
.well
|
|
.update
|
|
.row
|
|
.span1
|
|
= render :partial => "shared/avatar", :locals => { :member => update.user }
|
|
.span7
|
|
- if subject
|
|
%h3= link_to strip_tags(update.subject), update
|
|
|
|
.update-meta
|
|
Posted by
|
|
= link_to update.user.username, member_path(update.user)
|
|
at
|
|
= update.created_at
|
|
|
|
.update-body
|
|
:markdown
|
|
#{ strip_tags update.body }
|
|
|
|
- if current_user == update.user
|
|
.update-actions
|
|
= link_to 'Edit', edit_update_path(update), :class => 'btn'
|
|
= link_to 'Delete', update, method: :delete, |
|
|
data: { confirm: 'Are you sure?' }, :class => 'btn'
|