<div class="card mt-4">
	<form action="{{ url('/settings/hr/update') }}" method="POST">

		{{ csrf_field() }}
		<div class="card-header c-pointer" data-toggle="collapse" data-target="#send_for_approval_email_template" aria-expanded="true" aria-controls="send_for_approval_email_template">Send For Approval email to applicant</div>
		<div id="send_for_approval_email_template" class="collapse">
			<div class="card-body">
				<div class="form-row">
					<div class="col-md-12">
						<div class="form-group">
							<label for="setting_key[send_for_approval_subject]">Subject</label>
							<input type="text" name="setting_key[send_for_approval_subject]" class="form-control" value="{{ isset($settings['send_for_approval_subject']->setting_value) ? $settings['send_for_approval_subject']->setting_value : '' }}">
						</div>
					</div>
				</div>
				<div class="form-row">
					<div class="col-md-12">
						<div class="form-group">
							<label for="setting_key[send_for_approval_body]">Mail body:</label>
							<textarea name="setting_key[send_for_approval_body]" rows="10" class="richeditor form-control" placeholder="Body">{{ isset($settings['send_for_approval_body']->setting_value) ? $settings['send_for_approval_body']->setting_value : '' }}</textarea>
						</div>
					</div>
				</div>
			</div>
			<div class="card-footer">
				<button type="submit" class="btn btn-primary">Save</button>
			</div>
		</div>
	</form>
</div> 
