mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 09:06:22 +00:00
fix: siempre es un botón
https://blog.saeloun.com/2021/08/24/rails-7-button-to-rendering/
This commit is contained in:
parent
a2204779af
commit
0b3f4e33fb
1 changed files with 2 additions and 1 deletions
|
@ -5,4 +5,5 @@
|
||||||
- local_assigns[:class] = "btn #{local_assigns[:class]}"
|
- local_assigns[:class] = "btn #{local_assigns[:class]}"
|
||||||
|
|
||||||
-# @todo path es obligatorio
|
-# @todo path es obligatorio
|
||||||
= button_to text, local_assigns[:path], **local_assigns
|
= button_to local_assigns[:path], **local_assigns do
|
||||||
|
= text
|
||||||
|
|
Loading…
Reference in a new issue