<form method="post" action="/forms/organizations/{{this.org.id}}/subscription_plan/" data-element="popup" data-id="subscription_plan">
    <div class="field">
        <label for="{{fallback this.name "org_subscription"}}.subscription_plan">{{i18n "org_details.prop.subscription_plan"}}</label>
        <select name="subscription_plan" id="{{fallback this.name "org_subscription"}}.subscription_plan" class="full-width">
            <option value="free"{{#is this.org.subscription_plan "free"}} selected{{/is}}>{{i18n "org_details.subscription_plan.free"}}</option>
            <option value="paid"{{#is this.org.subscription_plan "paid"}} selected{{/is}}>{{i18n "org_details.subscription_plan.paid"}}</option>
        </select>
    </div>
    <div class="field" data-id="paid_subscription_expiration_date">
        <label for="{{fallback this.name "org_subscription"}}.subscription_plan_expires_at">{{i18n "org_details.prop.subscription_plan_expires_at"}}</label>
        <input type="date" data-name="subscription_plan_expires_at<date>" value="{{short_date this.org.subscription_plan_expires_at}}" id="{{fallback this.name "org_subscription"}}.subscription_plan_expires_at" class="full-width">
    </div>
    <div class="field">
        <label for="{{fallback this.name "org_subscription"}}.comment">{{i18n "common.form.comment"}}*</label>
        <input type="text" name="comment" id="{{fallback this.name "org_subscription"}}.comment" class="full-width" required>
    </div>
    <div class="actions">
        <button type="submit" class="highlighted" data-action="ok">{{i18n "common.action.apply"}}</button>
        <label for="cancel_{{fallback this.name "org_subscription"}}" class="button" data-action="cancel">{{i18n "common.action.cancel"}}</label>
    </div>
    <input type="hidden" name="_method" value="patch">
</form>
