5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-06-29 09:16:07 +00:00

el orden es condicional

This commit is contained in:
f 2020-10-06 16:35:50 -03:00
parent 76d3935c6f
commit e9f0b2a36f

View file

@ -86,7 +86,8 @@
%td %td
= post.date.value.strftime('%F') = post.date.value.strftime('%F')
%br/ %br/
= post&.order&.value - if post.attribute? :order
= post.order.value
%td %td
- if @usuarie || policy(post).edit? - if @usuarie || policy(post).edit?
= link_to t('posts.edit'), = link_to t('posts.edit'),