<form method="post" action="/forms/organizations/{{this.org.id}}/services/{{this.service.slug}}/enable/" data-element="popup" data-id="{{fallback this.name "enable_service"}}"{{#if this.position}} data-position="{{this.position}}"{{/if}}>
    {{#if (and (or (is this.org.organization_type "partner_organization") (is this.org.organization_type "cloud_partner")) service.paid_by_license)}}
    <div class="{{#unless (empty this.service.user_limit)}}hidden {{/unless}}field">
        <label for="{{fallback this.name "enable_service"}}.user_limit">{{i18n "service_details.form.user_limit"}}*</label>
        <input type="number" id="{{fallback this.name "enable_service"}}.user_limit" name="user_limit<number>" value="{{this.service.user_limit}}" class="full-width" required>
    </div>
    <div class="{{#unless (empty this.service.expires_at)}}hidden {{/unless}}field">
        <label for="{{fallback this.name "enable_service"}}.expires_at">{{i18n "service_details.form.expires_at"}}*</label>
        <input type="date" id="{{fallback this.name "enable_service"}}.expires_at" data-name="expires_at<date>" value="{{short_date this.service.expires_at}}" class="full-width" required>
    </div>
    <div class="field">
        <label for="{{fallback this.name "enable_service"}}.comment">{{i18n "common.form.comment"}}*</label>
        <input type="text" id="{{fallback this.name "enable_service"}}.comment" name="comment" class="full-width" required>
    </div>
    {{else}}
    <div class="field">
        <input type="text" id="{{fallback this.name "enable_service"}}.comment" name="comment" class="full-width" placeholder="{{i18n "common.form.comment"}}*" required>
    </div>
    {{/if}}
    <div class="actions">
        <button type="submit" class="highlighted" data-action="ok">{{i18n "service_details.form.action.enable_service"}}</button>
        <label for="cancel_{{fallback this.name "enable_service"}}" class="button" data-action="cancel">{{i18n "common.action.cancel"}}</label>
    </div>
</form>
