Make creator's author checkbox work sensibly

This commit is contained in:
2025-01-12 14:22:11 +01:00
parent 8b1b99d0f7
commit d239a86444
2 changed files with 10 additions and 9 deletions

View File

@ -75,9 +75,9 @@
</div>
<div>
<input id="creator" name="creator" type="checkbox" value="contributor" {{if eq .Creator.ArticleRole
2}}checked{{end}} />
<label for="creator">Ich bin nicht der Autor.</label>
<input id="creator" name="creator" type="checkbox" value="author" {{if eq .Creator.ArticleRole
1}}checked{{end}} />
<label for="creator">Ich bin Autor.</label>
</div>
<div class="btn-area">