mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 19:46:23 +00:00
fix: botones en una sola línea
This commit is contained in:
parent
0d28748b8b
commit
b10eef7644
1 changed files with 5 additions and 4 deletions
|
@ -125,10 +125,11 @@
|
|||
%br/
|
||||
= post.order
|
||||
%td.text-nowrap
|
||||
- if @usuarie || policy(post).edit?
|
||||
= link_to t('posts.edit_post'), edit_site_post_path(@site, post.path), class: 'btn btn-secondary btn-block'
|
||||
- if @usuarie || policy(post).destroy?
|
||||
= 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') }
|
||||
.d-flex.flex-row.align-items-start
|
||||
- if @usuarie || policy(post).edit?
|
||||
= link_to t('posts.edit_post'), edit_site_post_path(@site, post.path), class: 'btn btn-secondary'
|
||||
- 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 }
|
||||
- @filter_params.each do |param, value|
|
||||
|
|
Loading…
Reference in a new issue