5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 20:16:23 +00:00
panel/app/views/layouts/_details.haml

17 lines
622 B
Text
Raw Permalink Normal View History

2024-02-29 19:27:48 +00:00
-#
Detail Cola de Moderación
2024-02-29 19:27:48 +00:00
@param :id [String] El ID opcional sirve para mantener el historial de
cuál estaba abierto y recuperarlo al cargar la página
@param :summary [String] El resumen
@param :summary_class [String] Clases para el summary
- local_assigns[:summary_class] ||= 'h3'
2024-02-29 19:27:48 +00:00
%details.details.py-2{ id: local_assigns[:id], data: { controller: 'details', action: 'toggle->details#store' } }
%summary.d-flex.flex-row.align-items-center.justify-content-between{ class: local_assigns[:summary_class] }
%span= summary
%span.hide-when-open ▶
%span.show-when-open ▼
2024-02-06 15:57:42 +00:00
= yield