<form #form="ngForm">
    <div class="ui-g form-group">
        <div class="ui-g-12 ui-md-4">
            <label>Message Template</label>
        </div>
        <div class="ui-g-12 ui-md-4 ui-fluid">
            <input [(ngModel)]="edit.MessageTemplate" name="MessageTemplate{{edit.ObjectID}}" fieldLabel="Message Template" type="text" pInputText class="ui-inputtext">
        </div>
    </div>
    <div class="ui-g form-group">
        <div class="ui-g-12 ui-md-4">
            <label>Message Template Type</label>
        </div>
        <div class="ui-g-12 ui-md-4 ui-fluid">
            <p-dropdown [(ngModel)]="edit.MessageTemplateType" name="MessageTemplateType{{edit.ObjectID}}" fieldLabel="Message Template Type" [options]="messageTemplateTypes" optionLabel="Description"></p-dropdown>
        </div>
    </div>
    <div class="ui-g form-group">
        <div class="ui-g-12 ui-md-4">
            <label>Subject</label>
        </div>
        <div class="ui-g-12 ui-md-4 ui-fluid">
            <input [(ngModel)]="edit.Subject" name="Subject{{edit.ObjectID}}" fieldLabel="Subject" type="text" pInputText class="ui-inputtext">
        </div>
        <div class="ui-g-12 ui-md-4">
            <p-button label="Placeholder Variable"></p-button>
        </div>
    </div>
    <div class="ui-g form-group">
        <div class="ui-g-12 ui-md-4">
            <label> Message Content </label>
        </div>
        <div class="ui-g-12 ui-md-4">
        </div>
        <div class="ui-g-12 ui-md-4">
            <p-button label="Placeholder Variable"></p-button>
        </div>
    </div>
    <div class="ui-g form-group">
        <div class="ui-g-12 ui-md-12">
            <p-editor [(ngModel)]="edit.MessageContent" name="MessageContent{{edit.ObjectID}}" fieldLabel="Message Content"></p-editor>
        </div>
    </div>
    <div class="ui-g form-group">
        <div class="ui-g-12 ui-md-12">
            <div class="ui-g form-group">
                <div class="ui-g-12 ui-md-3 ui-fluid">
                    <p-button label="Cancel"></p-button>
                </div>
                <div class="ui-g-12 ui-md-3 ui-fluid">
                    <p-button label="Save"></p-button>
                </div>
                <div class="ui-g-12 ui-md-3 ui-fluid">
                    <p-button label="Save into all templates"></p-button>
                </div>
                <div class="ui-g-12 ui-md-3 ui-fluid">
                    <p-button label="Save as Copy"></p-button>
                </div>
            </div>
        </div>
    </div>
    <p-progressSpinner *ngIf="showLoader"></p-progressSpinner>
</form>