<div moe>
		<a start show href="#">
			@if($access->is_active)
				<span class="text-danger">Deactivate</span>
			@else
			<span class="text-success">Reactivate</span>
			@endif
		</a>
		<form url="{{ $access->is_active ? '/api/visitTemplateAccess/deactivate' : '/api/visitTemplateAccess/reactivate' }}" class="mt-2">
			<input type="hidden" name="uid" value="{{ $access->uid }}">
			<div class="mb-2 w-100">
				<label>Are you sure?</label>
			</div>
			<div class="mb-2 w-100">
				<label>Memo</label>
				<textarea name="memo" class="form-control"><?= $access->is_active ? $access->deactivation_memo: $access->reactivation_memo ?></textarea>
			</div>
			<div class="mt-3">
				@if($access->is_active)
				<button submit class="btn btn-sm btn-danger mr-2">Deactivate</button>
				@else
				<button submit class="btn btn-sm btn-primary mr-2">Reactivate</button>
				@endif
				<button cancel class="btn btn-default border">Cancel</button>
			</div>
		</form>
	</div>