akkounts/app/views/shared/_tabnav_contributions.html.erb
Râu Cao 6713665a61
Some checks failed
continuous-integration/drone/push Build is failing
WIP Rename "projects" page, make content editable
2025-05-28 18:42:10 +04:00

15 lines
500 B
Plaintext

<div class="border-b border-gray-200">
<nav class="-mb-px flex" aria-label="Tabs">
<%= render TabnavLinkComponent.new(
name: "Donations",
path: contributions_donations_path,
active: current_page?(contributions_donations_path)
) %>
<%= render TabnavLinkComponent.new(
name: editable_content_for("contributions/other", "title", default: "Other"),
path: contributions_other_path,
active: current_page?(contributions_other_path)
) %>
</nav>
</div>