app.kluk.fr/app/views/charte/_bouton.html.erb
Christophe Robillard ad251e7558 use charte from www
2026-09-29 06:34:43 +02:00

5 lines
415 B
Text

<%# Bouton de la charte (pilule encre). Pour un bouton d'envoi : f.submit "…", class: "bouton".
render "charte/bouton", texte: "Je veux ma Kluk", href: dashboard_path
render "charte/bouton", texte: "Voir", href: "#", petit: true, data: { turbo_frame: "x" } %>
<%# locals: (texte:, href:, petit: false, **attributs) -%>
<%= link_to texte, href, class: ["bouton", ("bouton-petit" if petit)], **attributs %>