Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add election editing #650

Merged
merged 11 commits into from
Dec 16, 2024
2 changes: 1 addition & 1 deletion src/routes/(app)/elections/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<div class="flex flex-row">
<PageHeader title={m.openElections()} />
{#if isAuthorized(apiNames.ELECTION.CREATE, data.user)}
<a href={"/elections/new"} class="btn btn-primary ml-auto">+ Nytt val</a>
<a href="/elections/create" class="btn btn-primary ml-auto">+ Nytt val</a>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed this to create since that's more consistent with our other pages (except for one for some reason...).

{/if}
</div>

Expand Down