Improve show contest buttons
Some checks failed
CI / scan_ruby (push) Failing after 15s
CI / scan_js (push) Successful in 10s
CI / lint (push) Successful in 11s
CI / test (push) Successful in 29s

This commit is contained in:
sto
2025-05-14 15:17:42 +02:00
parent 3a8517e637
commit 138fe67baa
3 changed files with 19 additions and 15 deletions

View File

@@ -16,6 +16,10 @@ html
= t("nav.settings")
= button_to t("nav.log_out"), session_path, method: :delete
h1.mb-4 = @title
h1.mb-4
= @title
- if @action_path
a.ms-3.btn.btn-primary href=@action_path style="margin-top: -4px"
= @action_name
= yield