5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 04:26:22 +00:00

fix: botones en una sola línea

This commit is contained in:
f 2024-03-26 13:03:46 -03:00
parent 0d28748b8b
commit b10eef7644
No known key found for this signature in database

View file

@ -125,10 +125,11 @@
%br/ %br/
= post.order = post.order
%td.text-nowrap %td.text-nowrap
- if @usuarie || policy(post).edit? .d-flex.flex-row.align-items-start
= link_to t('posts.edit_post'), edit_site_post_path(@site, post.path), class: 'btn btn-secondary btn-block' - if @usuarie || policy(post).edit?
- if @usuarie || policy(post).destroy? = link_to t('posts.edit_post'), edit_site_post_path(@site, post.path), class: 'btn btn-secondary'
= link_to t('posts.destroy'), site_post_path(@site, post.path), class: 'btn btn-secondary btn-block', method: :delete, data: { confirm: t('posts.confirm_destroy') } - if @usuarie || policy(post).destroy?
= link_to t('posts.destroy'), site_post_path(@site, post.path), class: 'btn btn-secondary', method: :delete, data: { confirm: t('posts.confirm_destroy') }
#footnotes{ hidden: true } #footnotes{ hidden: true }
- @filter_params.each do |param, value| - @filter_params.each do |param, value|