@extends('master')

@section('title')
   Training on Legislation
@stop

@section('styles')
 <style>

input[type="text"], input[type="password"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="week"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], input[type="color"], textarea {
    width: 220%;
}
 </style>
@stop

@section('content')

@include('partials.nav')

<h1>Training on Legislation</h1>

<hr style="margin-top: 10px;">

{{ Form::open(['url' => '/training-on-legislation', 'method' => 'POST', 'data-abide' => '','files' => true]) }}


<div class="row">
     <div class="large-6 columns">
         <label style="text-align: initial;"><input id="nca" type="checkbox" name="options[]" value="National Credit Act (NCA)"><label class="" for="nca">National Credit Act (NCA)</label><br></label>
         <label style="text-align: initial;"><input id="popi" type="checkbox" name="options[]" value="Protection of Personal Information (POPI)"><label class="" for="popi">Protection of Personal Information (POPI)</label></label>
         <label style="text-align: initial;"><input id="cpa" type="checkbox" name="options[]" value="Consumer Protection Act (CPA)"><label class="" for="cpa">Consumer Protection Act (CPA)</label></label>
     </div>
</div>

<div class="row">
    <div class="large-12 columns">
         <!-- required -->
        @if($errors->first('overview'))
            <label class="red" style="text-align: left;">Please give us a brief overview of what you require and for how many people, and one of our consultants will contact you. *</label>
            {{ Form::textarea('overview', '', ['class' => 'formFieldGrey', 'style'=>"border: 2px solid rgba(255, 0, 0, 0.3)"]) }}
        @else
            <label style="text-align: left;">Please give us a brief overview of what you require and for how many people, and one of our consultants will contact you. *</label>
            {{ Form::textarea('overview', '', ['class' => 'formFieldGrey']) }}
        @endif
    </div>
</div>

<div class="row">
    <div class="large-12 columns">
        <button class="myButton" type="submit">Click to Enquire</button>
    </div>
</div>





{{ Form:: close() }}

@include('partials.footer')

@stop

@section('scripts')

@stop