5
0
Fork 0
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:
f 2020-10-06 16:35:50 -03:00
parent 76d3935c6f
commit e9f0b2a36f

View file

@ -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'),