2016-03-23 18:39:41 +01:00
|
|
|
<div class="modal-header">
|
2019-12-17 12:40:36 +01:00
|
|
|
<h3 class="modal-title m-l" translate>{{ 'app.admin.members_edit.new_subscription' }}</h3>
|
2016-03-23 18:39:41 +01:00
|
|
|
</div>
|
|
|
|
<div class="modal-body m-lg">
|
|
|
|
<div class="alert alert-danger">
|
|
|
|
<p translate translate-values="{NAME: user.name}">
|
2019-12-17 12:40:36 +01:00
|
|
|
{{ 'app.admin.members_edit.you_are_about_to_purchase_a_subscription_to_NAME' }}
|
2016-03-23 18:39:41 +01:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<form role="form" name="subscriptionForm" class="form-horizontal col-md-8" novalidate>
|
|
|
|
<div class="form-group">
|
|
|
|
<select ng-model="subscription.plan_id" ng-options="plan.id as humanReadablePlanName(plan) for plan in plans" class="form-control" required>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
2019-12-17 12:40:36 +01:00
|
|
|
<button class="btn btn-warning" ng-click="ok()" ng-disabled="subscriptionForm.$invalid" translate>{{ 'app.shared.buttons.confirm' }}</button>
|
|
|
|
<button class="btn btn-primary" ng-click="cancel()" translate>{{ 'app.shared.buttons.cancel' }}</button>
|
2016-03-23 18:39:41 +01:00
|
|
|
</div>
|