Eshop-Laravel/resources/views/forms/signup.blade.php
2019-10-18 12:25:37 +03:00

151 lines
5.4 KiB
PHP

@php
$menu = App\Menu::all()->toArray();
@endphp
@extends('master')
@section('main_content')
<div class="block-body">
<p class="lead">Not our registered customer yet?</p>
<p>With registration with us new world of fashion, fantastic discounts and much more opens to you! The whole process will not take you more than a minute!</p>
<p class="text-muted">If you have any questions, please feel free to <a href="{{url('contact')}}">contact us</a>, our customer service center is working for you 24/7.</p>
<hr>
@if ($errors -> any() )
<div class="alert alert-danger">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
{{-- <form action="" method="post">
{{csrf_field()}}
<div class="form-group">
<label for="name" class="form-label">Name</label>
<input value="{{ old('name') }}" id="name" name="name" type="text" class="form-control">
</div>
<div class="form-group">
<label for="email" class="form-label">Email</label>
<input value="{{ old('email') }}" id="email" name="email" type="text" class="form-control">
</div>
<div class="form-group">
<label for="password" class="form-label">Password</label>
<input id="password" name="password" type="password" class="form-control">
</div>
<div class="form-group">
<label for="password_confirmation" class="form-label">password_confim</label>
<input id="password_confirmation" name="password_confirmation" type="password" class="form-control">
</div>
<div class="form-group text-center">
<button type="submit" class="btn btn-primary"><i class="icon-profile"></i> Register </button>
</div>
</form>
--}}
<div class="block-header mb-5">
<h5>Personal details</h5>
</div>
<form method="post" action="" class="content-block">
{{csrf_field()}}
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label for="firstname" class="form-label">Firstname</label>
<input name="name" value="{{old('name')}}" id="firstname" type="text" class="form-control">
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label for="lastname" class="form-label">Lastname</label>
<input name="last_name" value="{{old('email')}}" id="lastname" type="text" class="form-control">
</div>
</div>
</div>
<!-- /.row-->
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label for="street" class="form-label">Street</label>
<input name="street" value="{{ old('street') }}" id="street" type="text" class="form-control">
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label for="Street_Number" class="form-label">Street Number</label>
<input name="streetNum" value="{{ old('streetNum')}}" id="Street_Number" type="text" class="form-control">
</div>
</div>
</div>
<!-- /.row-->
<div class="row">
<div class="col-sm-6 col-md-3">
<div class="form-group">
<label for="city" class="form-label">City</label>
<input name="city" value="{{ old('city') }}" id="city" type="text" class="form-control">
</div>
</div>
<div class="col-sm-6 col-md-3">
<div class="form-group">
<label for="zip" class="form-label">ZIP</label>
<input name="ZIP" value="{{ old('ZIP') }}" id="zip" type="text" class="form-control">
</div>
</div>
<div class="col-sm-6 col-md-3">
<div class="form-group">
<label for="state" class="form-label">State</label>
<input name="state" value="{{ old('street')}}" id="state" type="text" class="form-control">
</div>
</div>
<div class="col-sm-6 col-md-3">
<div class="form-group">
<label for="country" class="form-label">Country</label>
<input name="country" value="{{ old('country') }}" id="country" type="text" class="form-control">
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label for="phone" class="form-label">Telephone</label>
<input name="phone" value="{{ old('phone') }}" id="phone" type="text" class="form-control">
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label for="email" class="form-label">Email</label>
<input name="email" value="{{ old('email') }}" id="email" type="text" class="form-control">
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label for="password" class="form-label">password</label>
<input name="password" value="" id="password" type="password" class="form-control">
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label for="password_confirmation" class="form-label">password_confirmation</label>
<input name="password_confirmation" value="" id="email" type="password" class="form-control">
</div>
</div>
<div class="col-sm-12 text-center">
<button name"submit" type="submit" class="btn btn-primary">
<i class="fa fa-save">
Save Changes
</i>
</boutton>
</div>
</div>
</form>
@endsection