5 lines
415 B
Text
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 %>
|