26 lines
931 B
Handlebars
26 lines
931 B
Handlebars
|
|
<h4>{{i18n 'discourse_patrons.admin.plans.title'}}</h4>
|
|
|
|
<form class="form-horizontal">
|
|
<p>
|
|
<label for="name">{{i18n 'discourse_patrons.admin.plans.plan.name'}}</label>
|
|
{{input type="text" name="name" value=model.plan.name}}
|
|
</p>
|
|
<p>
|
|
<label for="amount">{{i18n 'discourse_patrons.admin.plans.plan.amount'}}</label>
|
|
{{input type="text" name="name" value=model.plan.amount}}
|
|
</p>
|
|
<p>
|
|
<label for="product">{{i18n 'discourse_patrons.admin.plans.plan.product'}}</label>
|
|
{{combo-box valueAttribute="id" content=model.products value=model.plan.product_id}}
|
|
</p>
|
|
<p>
|
|
<label for="interval">{{i18n 'discourse_patrons.admin.plans.plan.interval'}}</label>
|
|
{{combo-box valueAttribute="value" content=model.plan.intervals value=model.plan.interval}}
|
|
</p>
|
|
</form>
|
|
|
|
<div class="buttons">
|
|
{{d-button label="discourse_patrons.admin.plans.operations.create" action="createPlan" icon="plus"}}
|
|
</div>
|