File "referuser.blade.php"
Full Path: /home/fundopuh/trader.fxex.org/resources/views/admin/referuser.blade.php
File size: 4.33 KB
MIME-type: text/plain
Charset: utf-8
@extends('layouts.app')
@section('content')
<div class="mt-2 mb-4">
<h1 class="title1 ">Add New users to {{ $settings->site_name }} community</h1>
</div>
<x-admin.alert />
<div class="mb-5 row">
<div class="col-lg-8 offset-lg-2 card p-3 shadow">
<form method="POST" action="{{ url('admin/dashboard/saveuser') }}">
{{ csrf_field() }}
<div class="form-row">
<div class="form-group col-md-12">
<label for="f_name">Username</label>
<input type="text" class="mr-2 form-control" name="username" placeholder="Enter Unique Username"
required>
@if ($errors->has('username'))
<small class="text-danger">{{ $errors->first('username') }}</small>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('name') ? ' has-error' : '' }}">
<h4 class="">FullName</h4>
<div>
<input id="name" type="text" class="form-control " name="name"
value="{{ old('name') }}" required>
@if ($errors->has('name'))
<span class="help-block">
<strong>{{ $errors->first('name') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}">
<h4 class="">E-Mail Address</h4>
<div>
<input id="email" type="email" class="form-control " name="email"
value="{{ old('email') }}" required>
@if ($errors->has('email'))
<span class="help-block">
<strong>{{ $errors->first('email') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}">
<h4 class="">Phone number</h4>
<div>
<input id="phone" type="number" class="form-control " name="phone"
value="{{ old('phone') }}" required>
@if ($errors->has('phone'))
<span class="help-block">
<strong>{{ $errors->first('phone') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('password') ? ' has-error' : '' }}">
<h4 class="">Password</h4>
<div>
<input id="password" type="password" class="form-control " name="password" required>
@if ($errors->has('password'))
<span class="help-block">
<strong>{{ $errors->first('password') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('password_confirmation') ? ' has-error' : '' }}">
<h4 class="">Confirm Password</h4>
<div>
<input id="password-confirm" type="password" class="form-control " name="password_confirmation"
required>
@if ($errors->has('password_confirmation'))
<span class="help-block">
<strong>{{ $errors->first('password_confirmation') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group">
<div>
<button type="submit" class="px-5 btn btn-primary btn-lg">
<i class="fa fa-btn fa-user"></i> Save User
</button>
</div>
</div>
</form>
</div>
</div>
@endsection