2017-03-19 12:36:57 +00:00
|
|
|
|
{{#each customFields}}
|
|
|
|
|
|
2017-05-04 21:42:46 +00:00
|
|
|
|
{{#if typeSubscriptionEmail}}
|
2017-03-19 12:36:57 +00:00
|
|
|
|
<div class="form-group email">
|
2018-12-15 19:09:07 +00:00
|
|
|
|
<label for="EMAIL">{{#translate}}emailAddress-2{{/translate}}</label>
|
2017-03-19 12:36:57 +00:00
|
|
|
|
{{#if ../isManagePreferences}}
|
|
|
|
|
<div class="input-group">
|
2018-01-28 22:59:05 +00:00
|
|
|
|
<input type="email" name="EMAIL" id="email" placeholder="" value="{{../email}}" readonly>
|
2018-12-15 19:09:07 +00:00
|
|
|
|
<div class="input-group-addon"><a href="/subscription/{{../lcid}}/manage-address/{{../cid}}">{{#translate}}wantToChangeIt?{{/translate}}</a></div>
|
2017-03-19 12:36:57 +00:00
|
|
|
|
</div>
|
|
|
|
|
{{else}}
|
2018-01-28 22:59:05 +00:00
|
|
|
|
<input type="email" name="EMAIL" id="email" placeholder="" value="{{../email}}" required>
|
2017-03-19 12:36:57 +00:00
|
|
|
|
{{/if}}
|
|
|
|
|
</div>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
{{#if typeText}}
|
2018-01-28 22:59:05 +00:00
|
|
|
|
<div class="form-group text {{key}}">
|
|
|
|
|
<label for="{{key}}">{{name}}</label>
|
|
|
|
|
<input type="text" name="{{key}}" value="{{value}}">
|
2017-03-19 12:36:57 +00:00
|
|
|
|
</div>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
{{#if typeNumber}}
|
2018-01-28 22:59:05 +00:00
|
|
|
|
<div class="form-group number {{key}}">
|
|
|
|
|
<label for="{{key}}">{{name}}</label>
|
|
|
|
|
<input type="number" name="{{key}}" value="{{value}}">
|
2017-03-19 12:36:57 +00:00
|
|
|
|
</div>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
{{#if typeWebsite}}
|
2018-01-28 22:59:05 +00:00
|
|
|
|
<div class="form-group url {{key}}">
|
|
|
|
|
<label for="{{key}}">{{name}}</label>
|
|
|
|
|
<input type="url" name="{{key}}" value="{{value}}">
|
2017-03-19 12:36:57 +00:00
|
|
|
|
</div>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
{{#if typeLongtext}}
|
2018-01-28 22:59:05 +00:00
|
|
|
|
<div class="form-group longtext {{key}}">
|
|
|
|
|
<label for="{{key}}">{{name}}</label>
|
|
|
|
|
<textarea rows="3" name="{{key}}">{{value}}</textarea>
|
2017-03-19 12:36:57 +00:00
|
|
|
|
</div>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
{{#if typeJson}}
|
2018-01-28 22:59:05 +00:00
|
|
|
|
<div class="form-group json {{key}}">
|
|
|
|
|
<label for="{{key}}">{{name}}</label>
|
|
|
|
|
<textarea class="gpg-text" rows="3" name="{{key}}" placeholder="{"data":"value"}">{{value}}</textarea>
|
2017-03-19 12:36:57 +00:00
|
|
|
|
</div>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
2018-12-28 19:54:00 +00:00
|
|
|
|
{{#if typeOption}}
|
|
|
|
|
<div class="form-group checkbox">
|
|
|
|
|
<label>{{name}}</label>
|
|
|
|
|
<label class="label-checkbox">
|
|
|
|
|
<input type="checkbox" name="{{key}}" value="1" {{#if value}} checked {{/if}}> {{field.settings.checkedLabel}}
|
|
|
|
|
</label>
|
|
|
|
|
<input type="hidden" value="0" name="{{key}}">
|
|
|
|
|
</div>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
2017-03-19 12:36:57 +00:00
|
|
|
|
{{#if typeGpg}}
|
2018-01-28 22:59:05 +00:00
|
|
|
|
<div class="form-group gpg {{key}}">
|
|
|
|
|
<label for="{{key}}">{{name}}</label>
|
2017-03-19 12:36:57 +00:00
|
|
|
|
{{#if ../hasPubkey}}
|
2018-12-15 19:09:07 +00:00
|
|
|
|
<button class="btn-download-pubkey" type="submit" form="download-pubkey">{{#translate}}downloadSignatureVerificationKey{{/translate}}</button>
|
2017-03-19 12:36:57 +00:00
|
|
|
|
{{/if}}
|
2018-12-15 19:09:07 +00:00
|
|
|
|
<textarea class="form-control gpg-text" rows="4" name="{{key}}" placeholder="{{#translate}}beginsWithAnd#39BeginPgpPublicKeyBloc{{/translate}}">{{value}}</textarea>
|
2017-03-19 12:36:57 +00:00
|
|
|
|
<span class="help-block">
|
2018-12-15 19:09:07 +00:00
|
|
|
|
{{#translate}}insertYourGpgPublicKeyHereToEncrypt{{/translate}}
|
2017-03-19 12:36:57 +00:00
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
{{#if typeDateUs}}
|
2018-01-28 22:59:05 +00:00
|
|
|
|
<div class="form-group date fm-date-us {{key}}">
|
|
|
|
|
<label for="{{key}}">{{name}}</label>
|
|
|
|
|
<input type="text" name="{{key}}" placeholder="MM/DD/YYYY" value="{{value}}">
|
2017-03-19 12:36:57 +00:00
|
|
|
|
</div>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
{{#if typeDateEur}}
|
2018-01-28 22:59:05 +00:00
|
|
|
|
<div class="form-group date fm-date-eur {{key}}">
|
|
|
|
|
<label for="{{key}}">{{name}}</label>
|
|
|
|
|
<input type="text" name="{{key}}" placeholder="DD/MM/YYYY" value="{{value}}">
|
2017-03-19 12:36:57 +00:00
|
|
|
|
</div>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
{{#if typeBirthdayUs}}
|
2018-01-28 22:59:05 +00:00
|
|
|
|
<div class="form-group date fm-birthday-us {{key}}">
|
|
|
|
|
<label for="{{key}}">{{name}}</label>
|
|
|
|
|
<input type="text" name="{{key}}" placeholder="MM/DD" value="{{value}}">
|
2017-03-19 12:36:57 +00:00
|
|
|
|
</div>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
{{#if typeBirthdayEur}}
|
2018-01-28 22:59:05 +00:00
|
|
|
|
<div class="form-group date fm-birthday-eur {{key}}">
|
|
|
|
|
<label for="{{key}}">{{name}}</label>
|
|
|
|
|
<input type="text" name="{{key}}" placeholder="DD/MM" value="{{value}}">
|
2017-03-19 12:36:57 +00:00
|
|
|
|
</div>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
2018-01-28 22:59:05 +00:00
|
|
|
|
{{#if typeDropdownGrouped }}
|
2017-03-19 12:36:57 +00:00
|
|
|
|
<div class="form-group dropdown {{key}}">
|
|
|
|
|
<label for="{{key}}">{{name}}</label>
|
|
|
|
|
<select name="{{key}}" class="form-control">
|
|
|
|
|
<option value="">
|
2018-12-15 19:09:07 +00:00
|
|
|
|
{{#translate}}––Select ––{{/translate}}
|
2017-03-19 12:36:57 +00:00
|
|
|
|
</option>
|
|
|
|
|
{{#each options}}
|
2018-01-28 22:59:05 +00:00
|
|
|
|
<option value="{{key}}" {{#if value}} selected {{/if}}>{{name}}</option>
|
2017-03-19 12:36:57 +00:00
|
|
|
|
{{/each}}
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
2018-01-28 22:59:05 +00:00
|
|
|
|
{{#if typeRadioGrouped}}
|
2017-03-19 12:36:57 +00:00
|
|
|
|
<div class="form-group radio {{key}}">
|
|
|
|
|
<label for="{{key}}">{{name}}</label>
|
|
|
|
|
{{#each options}}
|
|
|
|
|
<label class="label-radio">
|
2018-01-28 22:59:05 +00:00
|
|
|
|
<input type="radio" name="{{../key}}" value="{{key}}" {{#if value}} checked {{/if}}> {{name}}
|
2017-03-19 12:36:57 +00:00
|
|
|
|
</label>
|
|
|
|
|
{{/each}}
|
|
|
|
|
</div>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
2018-01-28 22:59:05 +00:00
|
|
|
|
{{#if typeCheckboxGrouped}}
|
2017-03-19 12:36:57 +00:00
|
|
|
|
<div class="form-group checkbox">
|
2018-12-28 19:54:00 +00:00
|
|
|
|
<input type="hidden" value="<present>" name="{{key}}">
|
2017-03-19 12:36:57 +00:00
|
|
|
|
<label>{{name}}</label>
|
|
|
|
|
{{#each options}}
|
|
|
|
|
<label class="label-checkbox">
|
2018-01-28 22:59:05 +00:00
|
|
|
|
<input type="checkbox" name="{{key}}" value="1" {{#if value}} checked {{/if}}> {{name}}
|
|
|
|
|
</label>
|
|
|
|
|
{{/each}}
|
|
|
|
|
</div>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
{{#if typeDropdownEnum }}
|
|
|
|
|
<div class="form-group dropdown {{key}}">
|
|
|
|
|
<label for="{{key}}">{{name}}</label>
|
|
|
|
|
<select name="{{key}}" class="form-control">
|
|
|
|
|
<option value="">
|
2018-11-20 22:41:10 +00:00
|
|
|
|
–– Select ––
|
2018-01-28 22:59:05 +00:00
|
|
|
|
</option>
|
|
|
|
|
{{#each options}}
|
|
|
|
|
<option value="{{key}}" {{#if value}} selected {{/if}}>{{name}}</option>
|
|
|
|
|
{{/each}}
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
{{#if typeRadioEnum}}
|
|
|
|
|
<div class="form-group radio {{key}}">
|
|
|
|
|
<label for="{{key}}">{{name}}</label>
|
|
|
|
|
{{#each options}}
|
|
|
|
|
<label class="label-radio">
|
|
|
|
|
<input type="radio" name="{{../key}}" value="{{key}}" {{#if value}} checked {{/if}}> {{name}}
|
2017-03-19 12:36:57 +00:00
|
|
|
|
</label>
|
|
|
|
|
{{/each}}
|
|
|
|
|
</div>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
{{/each}}
|