mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 02:11:42 +00:00
el orden es condicional
This commit is contained in:
parent
76d3935c6f
commit
e9f0b2a36f
1 changed files with 2 additions and 1 deletions
|
@ -86,7 +86,8 @@
|
|||
%td
|
||||
= post.date.value.strftime('%F')
|
||||
%br/
|
||||
= post&.order&.value
|
||||
- if post.attribute? :order
|
||||
= post.order.value
|
||||
%td
|
||||
- if @usuarie || policy(post).edit?
|
||||
= link_to t('posts.edit'),
|
||||
|
|
Loading…
Reference in a new issue