mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 16:16:21 +00:00
8 lines
225 B
Text
8 lines
225 B
Text
-# Componente Botón general Moderación
|
|
|
|
- local_assigns[:method] ||= 'patch'
|
|
- local_assigns[:class] = "btn #{local_assigns[:class]}"
|
|
- local_assigns.delete(:text)
|
|
|
|
= button_to(path, **local_assigns.compact) do
|
|
= text
|