publiccode.si/site/layouts/partials/action.html

85 lines
4.8 KiB
HTML
Raw Normal View History

{{ "<!-- SIGN -->" | safeHTML }}
2017-08-16 12:13:09 +02:00
<section class="bg-primary" id="action">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 text-center">
2017-08-16 12:13:09 +02:00
<h2 class="section-heading">{{ .Site.Params.action.headline }}</h2>
<hr class="light">
<p>{{ .Site.Params.action.subheadline | markdownify }}</p>
<p>{{ (replace (replace .Site.Params.action.description "$ORGS" (partial "functions/count_organisations.html" .) ) "$INDS" (partial "functions/count_signatures.html" .)) | markdownify }}</p>
2017-08-31 20:28:42 +02:00
<form action="https://forms.fsfe.org/email" method="post">
2017-08-31 20:39:13 +02:00
<input name="appid" type="hidden" value="pmpc-sign" />
<label class="sign-input form-na">
2017-09-07 12:56:20 +02:00
<input name="name" placeholder="{{ .Site.Params.action.form.name }}" type="text" required />
</label>
<label class="sign-input form-em">
2017-09-07 12:56:20 +02:00
<input name="confirm" placeholder="{{ .Site.Params.action.form.email }}" type="email" required />
</label>
2017-09-04 22:23:06 +02:00
<br />
<label class="sign-input form-cn">
<select name="country">
2017-09-07 12:56:20 +02:00
<option value="">{{ .Site.Params.action.form.country }}</option>
<option value="Austria">Austria</option>
<option value="Belgium">Belgium</option>
<option value="Bulgaria">Bulgaria</option>
<option value="Croatia">Croatia</option>
<option value="Cyprus">Cyprus</option>
<option value="Czech Republic">Czech Republic</option>
<option value="Denmark">Denmark</option>
<option value="Estonia">Estonia</option>
<option value="Finland">Finland</option>
<option value="France">France</option>
<option value="Germany">Germany</option>
<option value="Greece">Greece</option>
<option value="Hungary">Hungary</option>
<option value="Ireland">Ireland</option>
<option value="Italy">Italy</option>
<option value="Latvia">Latvia</option>
<option value="Lithuania">Lithuania</option>
<option value="Luxembourg">Luxembourg</option>
<option value="Malta">Malta</option>
<option value="Netherlands">Netherlands</option>
<option value="Poland">Poland</option>
<option value="Portugal">Portugal</option>
<option value="Romania">Romania</option>
<option value="Slovakia">Slovakia</option>
<option value="Slovenia">Slovenia</option>
<option value="Spain">Spain</option>
<option value="Sweden">Sweden</option>
<option value="United Kingdom">United Kingdom</option>
<option value="Outside the EU">Outside the EU</option>
</select>
</label>
<label class="sign-input form-zp">
2017-09-07 12:56:20 +02:00
<input name="zip" placeholder="{{ .Site.Params.action.form.zip }}" type="text" />
</label>
<label class="sign-input form-co">
2017-09-07 12:56:20 +02:00
<input name="comment" placeholder="{{ .Site.Params.action.form.comment }}" type="text" maxlength="140" />
</label>
<p class="form-pe">
<label class="form-pe">
2017-09-07 12:56:20 +02:00
<input name="permissionPriv" value="yes" type="checkbox" required /> {{ .Site.Params.action.form.permPriv | markdownify }}
</label>
<br />
<label class="form-pe">
2017-09-08 00:18:32 +02:00
<input name="permissionPub" value="yes" type="checkbox" /> {{ .Site.Params.action.form.permPub | markdownify}}
</label>
<br />
<label class="form-pe">
2017-09-08 00:18:32 +02:00
<input name="permissionNews" value="yes" type="checkbox" checked="checked" /> {{ .Site.Params.action.form.permNews | markdownify }}
</label>
</p>
<label id="honey"> <!-- Honeypot for spam -->
<p>Please do not put anything here:</p>
<input name="url" type="text" />
</label>
<br />
2017-09-07 12:56:20 +02:00
<button name="action" value="sign" type="submit" class="btn btn-default btn-xl">{{ .Site.Params.action.form.submit }}</button>
</form>
</div>
</div>
</div>
</section>