Let label enclose checkbox again, it looks nicer on small screens

lektura
max.mehl 2017-09-14 20:44:06 +02:00
parent eebea6550f
commit a14226d1de
1 changed files with 9 additions and 6 deletions

View File

@ -49,16 +49,19 @@
</label> </label>
<div class="form-pe"> <div class="form-pe">
<div> <div>
<input name="permissionPriv" id="permissionPriv" value="yes" type="checkbox" required /> <label class="form-pe" for="permissionPriv">
<label class="form-pe" for="permissionPriv"> {{ replace .Site.Params.action.form.permPriv "privacy/" ("/privacy" | relLangURL) | markdownify }}</label> <input name="permissionPriv" id="permissionPriv" value="yes" type="checkbox" required /> {{ replace .Site.Params.action.form.permPriv "privacy/" ("/privacy" | relLangURL) | markdownify }}
</label>
</div> </div>
<div> <div>
<input name="permissionPub" id="permissionPub" value="yes" type="checkbox" /> <label class="form-pe" for="permissionPub">
<label class="form-pe" for="permissionPub"> {{ replace .Site.Params.action.form.permPub "openletter/all-signatures" ("/openletter/all-signatures" | relLangURL) | markdownify}}</label> <input name="permissionPub" id="permissionPub" value="yes" type="checkbox" /> {{ replace .Site.Params.action.form.permPub "openletter/all-signatures" ("/openletter/all-signatures" | relLangURL) | markdownify}}
</label>
</div> </div>
<div> <div>
<input name="permissionNews" id="permissionNews" value="yes" type="checkbox" checked="checked" /> <label class="form-pe" for="permissionNews">
<label class="form-pe" for="permissionNews"> {{ .Site.Params.action.form.permNews | markdownify }}</label> <input name="permissionNews" id="permissionNews" value="yes" type="checkbox" checked="checked" /> {{ .Site.Params.action.form.permNews | markdownify }}
</label>
</div> </div>
</div> </div>