@extends('Layout.base', ['title'=>'AFRICA | Register a New Products'])
@section('content')

      <div class="container-fluid">
        <!-- SELECT2 EXAMPLE -->
        <div class="card card-default">
          <div class="card-header">
            <h3 class="card-title">Register a New User</h3>

            <div class="card-tools">
              <button type="button" class="btn btn-tool" data-card-widget="collapse"><i class="fas fa-minus"></i></button>
              <button type="button" class="btn btn-tool" data-card-widget="remove"><i class="fas fa-times"></i></button>
            </div>
          </div>
          <!-- /.card-header -->
          <div class="card-body">
          <form method="POST" action="{{route('Users.store')}}">
            {{ csrf_field()}}
            <div class="row">
              <div class="col-md-6">
                <div class="form-group">
                    <label for="exampleInputEmail1">User Name *</label>
                    <input type="text" class="form-control"  placeholder="Enter your Name" name="Name">
                  </div>
                  {!! $errors->first('Name', '<span class="error">:message</span>') !!}
              </div>

              <div class="col-md-6">
                <div class="form-group">
                    <label for="exampleInputEmail1">User Email *</label>
                    <input type="mail" class="form-control"  placeholder="Enter your Email Adress" name="Email">
                  </div>
                  {!! $errors->first('Email', '<span class="error">:message</span>') !!}
              </div>

              <div class="col-md-6">
                <div class="form-group">
                    <label for="exampleInputEmail1">User Password * </label>
                    <input type="password" class="form-control"  placeholder="Enter your Password" name="Password">
                  </div>
                  {!! $errors->first('Password', '<span class="error">:message</span>') !!}
              </div>

              <div class="col-md-6">
                <div class="form-group">
                    <label for="exampleInputEmail1">User Confirm Password *</label>
                    <input type="password" class="form-control"  placeholder="Confirm your Password" name="Password1">
                  </div>
                  {!! $errors->first('Password1', '<span class="error">:message</span>') !!}
              </div>

            </div>
      <div class="form-group">
         <button type="submit" class="btn btn-primary">Register User</button>
         <button type="reset" class="btn btn-danger">Cancel</button>
      </div>
      </form>     
      </div><!-- /.container-fluid -->

          @stop