@extends('layouts.master')

@section('header')
	@include('common.header')
@stop

@section('content')
	<div class="row">
		<div class="col-sm-8">
			<div class="widget widget-classic">
				<div class="widget-content">
					<p class="lead">Add a new contract</p>

					<form method="POST" action="{{ route('admin.settings.contracts.store') }}" class="form-horizontal form-edit">
						@csrf

						<!-- Include form fields -->
						@include('admin::settings.contracts.partials.form-fields')

						<div class="text-right form-actions">
							<button type="submit" class="btn btn-primary">Create</button>
							<a href="{{ route('admin.settings.contracts.index') }}" class="btn btn-default">Cancel</a>
						</div>
					</form>

				</div>
			</div>
		</div>
		<div class="col-sm-4">
			@include('admin::settings.contracts.partials.info')
		</div>
	</div>
@stop