2016-04-04 12:36:30 +00:00
|
|
|
<ol class="breadcrumb">
|
2017-03-07 14:30:56 +00:00
|
|
|
<li><a href="/">{{#translate}}Home{{/translate}}</a></li>
|
|
|
|
<li><a href="/lists/">{{#translate}}Lists{{/translate}}</a></li>
|
|
|
|
<li class="active">{{#translate}}Create List{{/translate}}</li>
|
2016-04-04 12:36:30 +00:00
|
|
|
</ol>
|
|
|
|
|
2017-03-07 14:30:56 +00:00
|
|
|
<h2>{{#translate}}Create List{{/translate}}</h2>
|
2016-04-04 12:36:30 +00:00
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
<form class="form-horizontal" method="post" action="/lists/create">
|
|
|
|
<input type="hidden" name="_csrf" value="{{csrfToken}}">
|
|
|
|
<div class="form-group">
|
2017-03-07 14:30:56 +00:00
|
|
|
<label for="name" class="col-sm-2 control-label">{{#translate}}Name{{/translate}}</label>
|
2016-04-04 12:36:30 +00:00
|
|
|
<div class="col-sm-10">
|
2017-03-07 14:30:56 +00:00
|
|
|
<input type="text" class="form-control input-lg" name="name" id="name" value="{{name}}" placeholder="{{#translate}}List Name{{/translate}}" autofocus required>
|
2016-04-04 12:36:30 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2017-03-07 14:30:56 +00:00
|
|
|
<label for="description" class="col-sm-2 control-label">{{#translate}}Description{{/translate}}</label>
|
2016-04-04 12:36:30 +00:00
|
|
|
<div class="col-sm-10">
|
|
|
|
<textarea class="form-control" rows="3" name="description" id="description">{{description}}</textarea>
|
2017-03-07 14:30:56 +00:00
|
|
|
<span class="help-block">{{#translate}}HTML is allowed{{/translate}}</span>
|
2016-04-04 12:36:30 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<hr />
|
|
|
|
|
2017-04-30 14:51:47 +00:00
|
|
|
<div class="form-group">
|
|
|
|
<label for="default_form" class="col-sm-2 control-label">{{#translate}}Subscription{{/translate}}</label>
|
|
|
|
<div class="col-sm-10">
|
|
|
|
<div class="checkbox">
|
|
|
|
<label>
|
|
|
|
<input type="checkbox" name="public_subscribe" value="1" {{#if publicSubscribe}} checked {{/if}}> {{#translate}}Allow public users to subscribe themselves{{/translate}}
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="default_form" class="col-sm-2 control-label">{{#translate}}Unsubscription{{/translate}}</label>
|
|
|
|
<div class="col-sm-10">
|
|
|
|
<select class="form-control" id="unsubscription_mode" name="unsubscription_mode">
|
|
|
|
{{#each unsubscriptionModeOptions}}
|
|
|
|
<option value="{{value}}"{{#if selected}} selected{{/if}}>{{label}}</option>
|
|
|
|
{{/each}}
|
|
|
|
</select>
|
|
|
|
<span class="help-block">{{#translate}}Select how an unsuscription request by subscriber is handled.{{/translate}}</span>
|
2017-04-14 12:48:49 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<hr />
|
|
|
|
|
2016-04-04 12:36:30 +00:00
|
|
|
<div class="form-group">
|
|
|
|
<div class="col-sm-offset-2 col-sm-10">
|
2017-03-07 14:30:56 +00:00
|
|
|
<button type="submit" class="btn btn-primary"><i class="glyphicon glyphicon-plus"></i> {{#translate}}Create List{{/translate}}</button>
|
2016-04-04 12:36:30 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|