<div class="row">
	<div class="<?php echo(TWO_COL); ?>">
		<fieldset>
			<legend>Calendar Information</legend>

			<div class="<?php echo(FORM_ROW); ?>">
				<label for="field_module_class" class="<?php echo(LABEL_COL); ?>">Module Class</label>
				<div class="<?php echo(FIELD_COL); ?>"><input type="text" name="field_module_class" id="field_module_class" ng-model="params.module_class.value" class="form-control" class="form-control" /></div>
			</div>

			<div class="<?php echo(FORM_ROW); ?>">
				<label for="field_recipients" class="<?php echo(LABEL_COL); ?>">Recipients (separate with ;)</label>
				<div class="<?php echo(FIELD_COL); ?>"><input type="text" name="field_recipients" id="field_recipients" ng-model="params.recipients.value" class="form-control" class="form-control" data-default="" required /></div>
			</div>

			<div class="<?php echo(FORM_ROW); ?>">
				<label for="field_recaptcha_public_key" class="<?php echo(LABEL_COL); ?>">Recaptcha Site Key</label>
				<div class="<?php echo(FIELD_COL); ?>"><input type="text" name="field_recaptcha_public_key" id="field_recaptcha_public_key" ng-model="params.recaptcha_public_key.value" class="form-control" class="form-control" /></div>
			</div>

			<div class="<?php echo(FORM_ROW); ?>">
				<label for="field_recaptcha_private_key" class="<?php echo(LABEL_COL); ?>">Recaptcha Secret Key</label>
				<div class="<?php echo(FIELD_COL); ?>"><input type="text" name="field_recaptcha_private_key" id="field_recaptcha_private_key" ng-model="params.recaptcha_private_key.value" class="form-control" class="form-control" /></div>
			</div>

			<div class="<?php echo(FORM_ROW); ?>">
				<label for="field_services" class="<?php echo(LABEL_COL); ?>">Services (one per line)</label>
				<div class="<?php echo(FIELD_COL); ?>"><textarea name="field_services" id="field_services" ng-model="params.services.value" class="form-control" class="form-control"></textarea></div>
			</div>

			<div class="<?php echo(FORM_ROW); ?>">
				<label for="field_practitioner" class="<?php echo(LABEL_COL); ?>">Practitioners (one per line)</label>
				<div class="<?php echo(FIELD_COL); ?>"><textarea name="field_practitioner" id="field_practitioner" ng-model="params.practitioner.value" class="form-control" class="form-control"></textarea></div>
			</div>

			<div class="<?php echo(FORM_ROW); ?>">
				<label for="field_practitioner_emails" class="<?php echo(LABEL_COL); ?>">Practitioner's E-mails (one per line)</label>
				<div class="<?php echo(FIELD_COL); ?>"><textarea name="field_practitioner_emails" id="field_practitioner_emails" ng-model="params.practitioner_emails.value" class="form-control" class="form-control"></textarea></div>
			</div>

			<div class="<?php echo(FORM_ROW); ?>">
				<label for="field_open_at" class="<?php echo(LABEL_COL); ?>">Open At (hour only, 24 hour time)</label>
				<div class="<?php echo(FIELD_COL); ?>"><input type="number" name="field_open_at" id="field_open_at" ng-model="params.open_at.value" class="form-control" class="form-control" min="0" max="23" step="1" data-default="9" /></div>
			</div>

			<div class="<?php echo(FORM_ROW); ?>">
				<label for="field_close_at" class="<?php echo(LABEL_COL); ?>">Close At (hour only, 24 hour time)</label>
				<div class="<?php echo(FIELD_COL); ?>"><input type="number" name="field_close_at" id="field_close_at" ng-model="params.close_at.value" class="form-control" class="form-control" min="0" max="23" step="1" data-default="17" /></div>
			</div>

			<div class="<?php echo(FORM_ROW); ?>">
				<label for="field_appointment_duration" class="<?php echo(LABEL_COL); ?>">Appointment Duration (minutes)</label>
				<div class="<?php echo(FIELD_COL); ?>"><input type="number" name="field_appointment_duration" id="field_appointment_duration" ng-model="params.appointment_duration.value" class="form-control" class="form-control" min="1" max="480" step="1" data-default="30" /></div>
			</div>

			<div class="<?php echo(FORM_ROW); ?>">
				<label for="field_show_appointments" class="<?php echo(LABEL_COL); ?>">Show Appointments in Month View</label>
				<div class="<?php echo(FIELD_COL); ?>"><?php angularYesNo("field_show_appointments", "params.show_appointments.value", 0); ?></div>
			</div>
		</fieldset>
	</div>

	<div class="<?php echo(TWO_COL); ?>">
		<fieldset>
			<legend>Messages</legend>

			<div class="<?php echo(FORM_ROW); ?>">
				<label for="field_success_message" class="col-12" class="<?php echo(LABEL_COL); ?>">Success Message</label>
				<div class="col-12"><textarea ckeditor-basic name="field_success_message" id="field_success_message" ng-model="params.success_message.value" class="form-control" class="form-control" data-default="Thank you, your message was sent." required></textarea></div>
			</div>

			<div class="<?php echo(FORM_ROW); ?>">
				<label for="field_error_message" class="col-12" class="<?php echo(LABEL_COL); ?>">Error Message</label>
				<div class="col-12"><textarea ckeditor-basic name="field_error_message" id="field_error_message" ng-model="params.error_message.value" class="form-control" class="form-control" data-default="There was an error sending your message." required></textarea></div>
			</div>
		</fieldset>
	</div>
</div>
