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