Separate checkboxes and labels. WIP #145

lektura
max.mehl 2017-09-14 17:06:05 +02:00
parent c1eae53e2e
commit e6969912db
1 changed files with 6 additions and 9 deletions

View File

@ -48,17 +48,14 @@
<input name="comment" placeholder="{{ .Site.Params.action.form.comment }}" type="text" maxlength="140" /> <input name="comment" placeholder="{{ .Site.Params.action.form.comment }}" type="text" maxlength="140" />
</label> </label>
<div class="form-pe"> <div class="form-pe">
<label class="form-pe" for="permissionPriv"> <input name="permissionPriv" id="permissionPriv" value="yes" type="checkbox" required />
<input name="permissionPriv" id="permissionPriv" value="yes" type="checkbox" required /> {{ replace .Site.Params.action.form.permPriv "privacy/" ("/privacy" | relLangURL) | markdownify }} <label class="form-pe" for="permissionPriv"> {{ replace .Site.Params.action.form.permPriv "privacy/" ("/privacy" | relLangURL) | markdownify }}</label>
</label>
<br /> <br />
<label class="form-pe" for="permissionPub"> <input name="permissionPub" id="permissionPub" value="yes" type="checkbox" />
<input name="permissionPub" id="permissionPub" value="yes" type="checkbox" /> {{ replace .Site.Params.action.form.permPub "openletter/all-signatures" ("/openletter/all-signatures" | relLangURL) | markdownify}} <label class="form-pe" for="permissionPub"> {{ replace .Site.Params.action.form.permPub "openletter/all-signatures" ("/openletter/all-signatures" | relLangURL) | markdownify}}</label>
</label>
<br /> <br />
<label class="form-pe" for="permissionNews"> <input name="permissionNews" id="permissionNews" value="yes" type="checkbox" checked="checked" />
<input name="permissionNews" id="permissionNews" value="yes" type="checkbox" checked="checked" /> {{ .Site.Params.action.form.permNews | markdownify }} <label class="form-pe" for="permissionNews"> {{ .Site.Params.action.form.permNews | markdownify }}</label>
</label>
</div> </div>
<label id="honey"> <!-- Honeypot for spam --> <label id="honey"> <!-- Honeypot for spam -->