@include('components.form.label')

<div class="input-group">
	@include('components.form.input', ['label' => false])
	<div class="input-group-append">
		<div class="input-group-text btn btn-{{ $class ?? '' }}" role="button"><i class="fa fa-{{ $icon ?? '' }}"></i></div>
	</div>
</div>

@isset($click)
	@push('js')
		<script>
			$('.btn-{{ $class ?? '' }}').off().click(function() {
				var value = $(this).closest('.input-group').find('input').val();
			});
		</script>
	@endpush
@endisset
