{!! Form::open(['route'=>['user.storeUpdatedUserCreates', 'id'=>$id], 'method'=>'POST', 'id'=>'update-user-creates']) !!}
<div class="error" style="text-align: center;"><b>On this Window, You can Update what the User can Create in the System</b></div><br>
<div class="guestDetails_inputDivider"></div>
<div  style="text-align: center;">
    Update what can be Created by: <b class="error">{!! $user->firstName." ".$user->lastName !!}</b>
</div><br>
<button type="submit" disabled style="display: none" aria-hidden="true"></button>
<div class="guestDetails_input">
    <div class="guestDetails_inputLabel">
        Adding New Users
        @if($userCreates->add_users == 1)
            <input type="checkbox" name="users" value="1" checked>
        @else
            <input type="checkbox" name="users" value="1">
        @endif <span style="font-size: 19px">|</span>
    </div>
</div>
<div class="guestDetails_input">
    <div class="guestDetails_inputLabel">
        Adding Policy
        @if($userCreates->add_plcy == 1)
            <input type="checkbox" name="policy" value="1" checked>
        @else
            <input type="checkbox" name="policy" value="1">
        @endif <span style="font-size: 19px">|</span>
    </div>
</div>
<div class="guestDetails_input">
    <div class="guestDetails_inputLabel">
        Adding Quotes
        @if($userCreates->add_quote == 1)
            <input type="checkbox" name="quote" value="1" checked>
        @else
            <input type="checkbox" name="quote" value="1">
        @endif <span style="font-size: 19px">|</span>
    </div>
</div>
<div class="guestDetails_input">
    <div class="guestDetails_inputLabel">
        Adding Medical Fund
        @if($userCreates->add_fund == 1)
            <input type="checkbox" name="fund" value="1" checked>
        @else
            <input type="checkbox" name="fund" value="1">
        @endif <span style="font-size: 19px">|</span>
    </div>
</div>

<div class="guestDetails_input">
    <div class="guestDetails_inputLabel">
        Adding Sub-Agents
        @if($userCreates->add_agent == 1)
            <input type="checkbox" name="agent" value="1" checked>
        @else
            <input type="checkbox" name="agent" value="1">
        @endif <span style="font-size: 19px">|</span>
    </div>
</div>
<div class="guestDetails_input">
    <div class="guestDetails_inputLabel">
        Issue Motor Certificate
        @if($userCreates->issue_certs == 1)
            <input type="checkbox" name="certs" value="1" checked>
        @else
            <input type="checkbox" name="certs" value="1">
        @endif <span style="font-size: 19px">|</span>
    </div>
</div>
<div class="guestDetails_input">
    <div class="guestDetails_inputLabel">
        Adding Premium Receipts
        @if($userCreates->make_pay == 1)
            <input type="checkbox" name="receipts" value="1" checked>
        @else
            <input type="checkbox" name="receipts" value="1">
        @endif <span style="font-size: 19px">|</span>
    </div>
</div>


{!! Form::close() !!}
