<div class="mr-2" moe relative>
	@if($template->is_slim)
		<a class="btn btn-sm btn-success text-white" href="" show start>Unmark as Slim</a>
	@else
		<a class="btn btn-sm btn-primary text-white" href="" show start>Mark as Slim</a>
	@endif
	<form url="/api/visitTemplate/{{ $template->is_slim ? 'undoMarkAsSlim' : 'markAsSlim' }}" right> 
	<input type="hidden" name="uid" value="{{ $template->uid }}" />
		<div class="mb-2">
			<label>Are you sure?</label>
		</div>
		<div class="mb-0">
			@if($template->is_slim)
				<button class="btn btn-success btn-sm" submit>Unmark as Slim</button>
			@else
				<button class="btn btn-primary btn-sm" submit>Mark as Slim</button>
			@endif
			<button class="btn btn-default border btn-sm" cancel>Cancel</button>
		</div>
	</form>
</div>