2016-04-04 12:36:30 +00:00
|
|
|
|
<h2>Update your preferences</h2>
|
|
|
|
|
|
2016-04-16 21:09:23 +00:00
|
|
|
|
{{#if hasPubkey}}
|
|
|
|
|
<form method="post" id="download-pubkey" action="/subscription/publickey">
|
|
|
|
|
<input type="hidden" name="_csrf" value="{{csrfToken}}">
|
|
|
|
|
<input type="hidden" name="cid" value="{{cid}}">
|
|
|
|
|
</form>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
2016-04-04 12:36:30 +00:00
|
|
|
|
<form method="post" action="/subscription/{{lcid}}/manage">
|
|
|
|
|
|
|
|
|
|
<input type="hidden" name="_csrf" value="{{csrfToken}}">
|
|
|
|
|
<input type="hidden" name="cid" value="{{cid}}">
|
2016-04-29 11:57:13 +00:00
|
|
|
|
<input type="hidden" class="tz-detect" name="tz" id="tz" value="{{tz}}">
|
2016-04-04 12:36:30 +00:00
|
|
|
|
|
|
|
|
|
<div class="form-group">
|
2016-05-01 21:08:44 +00:00
|
|
|
|
<label for="email">Email Address</label>
|
2016-04-04 12:36:30 +00:00
|
|
|
|
<input type="email" class="form-control" name="email" id="email" placeholder="" value="{{email}}" readonly>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="first-name">First Name</label>
|
|
|
|
|
<input type="text" class="form-control" name="first-name" id="first-name" placeholder="" value="{{firstName}}">
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="last-name">Last Name</label>
|
|
|
|
|
<input type="text" class="form-control" name="last-name" id="last-name" placeholder="" value="{{lastName}}">
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{{#each customFields}}
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label>{{name}}</label>
|
|
|
|
|
|
|
|
|
|
{{#if typeText}}
|
|
|
|
|
<input type="text" class="form-control" name="{{column}}" value="{{value}}">
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
{{#if typeNumber}}
|
|
|
|
|
<input type="number" class="form-control" name="{{column}}" value="{{value}}">
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
{{#if typeWebsite}}
|
|
|
|
|
<input type="url" class="form-control" name="{{column}}" value="{{value}}">
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
2016-04-16 05:27:45 +00:00
|
|
|
|
{{#if typeLongtext}}
|
|
|
|
|
<textarea class="form-control" rows="3" name="{{column}}">{{value}}</textarea>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
{{#if typeGpg}}
|
2016-04-17 10:13:02 +00:00
|
|
|
|
{{#if ../hasPubkey}}
|
|
|
|
|
<div class="pull-right">
|
2016-05-01 21:08:44 +00:00
|
|
|
|
<button type="submit" class="btn btn-link btn-xs" form="download-pubkey"><span class="glyphicon glyphicon-cloud-download" aria-hidden="true"></span> Download signature verification key</button>
|
2016-04-17 10:13:02 +00:00
|
|
|
|
</div>
|
|
|
|
|
{{/if}}
|
2016-04-20 21:12:49 +00:00
|
|
|
|
<textarea class="form-control gpg-text" rows="3" name="{{column}}" placeholder="Begins with '-----BEGIN PGP PUBLIC KEY BLOCK-----'">{{value}}</textarea>
|
2016-04-17 10:13:02 +00:00
|
|
|
|
<span class="help-block">Insert your GPG public key here to encrypt messages sent to your address <em>(optional)</em></span>
|
2016-04-16 05:27:45 +00:00
|
|
|
|
{{/if}}
|
|
|
|
|
|
2016-04-04 12:36:30 +00:00
|
|
|
|
{{#if typeDateUs}}
|
|
|
|
|
<div class="input-group date fm-date-us">
|
|
|
|
|
<input type="text" class="form-control" name="{{column}}" placeholder="MM/DD/YYYY" value="{{value}}"><span class="input-group-addon"><i class="glyphicon glyphicon-th"></i></span>
|
|
|
|
|
</div>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
{{#if typeDateEur}}
|
|
|
|
|
<div class="input-group date fm-date-eur">
|
|
|
|
|
<input type="text" class="form-control" name="{{column}}" placeholder="DD/MM/YYYY" value="{{value}}"><span class="input-group-addon"><i class="glyphicon glyphicon-th"></i></span>
|
|
|
|
|
</div>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
{{#if typeBirthdayUs}}
|
|
|
|
|
<div class="input-group date fm-birthday-us">
|
|
|
|
|
<input type="text" class="form-control" name="{{column}}" placeholder="MM/DD" value="{{value}}"><span class="input-group-addon"><i class="glyphicon glyphicon-th"></i></span>
|
|
|
|
|
</div>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
{{#if typeBirthdayEur}}
|
|
|
|
|
<div class="input-group date fm-birthday-eur">
|
|
|
|
|
<input type="text" class="form-control" name="{{column}}" placeholder="DD/MM" value="{{value}}"><span class="input-group-addon"><i class="glyphicon glyphicon-th"></i></span>
|
|
|
|
|
</div>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
{{#if typeDropdown}}
|
|
|
|
|
<select name="{{key}}" class="form-control">
|
|
|
|
|
<option value="">
|
|
|
|
|
–– Select ––
|
|
|
|
|
</option>
|
|
|
|
|
{{#each options}}
|
|
|
|
|
<option value="{{column}}" {{#if value}} selected {{/if}}>{{name}}</option>
|
|
|
|
|
{{/each}}
|
|
|
|
|
</select>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
{{#if typeRadio}}
|
|
|
|
|
{{#each options}}
|
|
|
|
|
<div class="radio">
|
|
|
|
|
<label>
|
|
|
|
|
<input type="radio" name="{{../key}}" value="{{column}}" {{#if value}} checked {{/if}}> {{name}}
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
{{/each}}
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
{{#if typeCheckbox}}
|
|
|
|
|
{{#each options}}
|
|
|
|
|
<div class="checkbox">
|
|
|
|
|
<label>
|
|
|
|
|
<input type="checkbox" name="{{column}}" value="1" {{#if value}} checked {{/if}}> {{name}}
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
{{/each}}
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
{{/each}}
|
|
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<button type="submit" class="btn btn-primary"><i class="glyphicon glyphicon-ok"></i> Update Profile</button> or <a href="/subscription/{{lcid}}/unsubscribe/{{cid}}">Unsubscribe</a>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|