Файл: src/resources/views/users/add.blade.php
Строк: 81
<?php
@extends('layouts.app')
@section('breadcrumb')
<ul class="breadcrumb">
<li>
<a href="{{route('get.dashboard')}}" title="{{trans('breadcrumb.dashboard')}}">
<span class="lnr lnr-home"></span> {{trans('breadcrumb.dashboard')}}
</a>
</li>
<li>
<a href="{{route('users::list')}}" title="{{trans('breadcrumb.user')}}">{{trans('breadcrumb.user')}}</a>
</li>
<li>{{trans('breadcrumb.add_user')}}</li>
</ul>
@stop
@section('content')
<div class="row">
<div class="col-sm-12">
<div class="panel panel-flat">
<div class="panel-heading">
<h5>{!! trans('user.add_panel_title') !!}</strong></h5>
</div>
<div class="panel-body">
{{Form::open(['class'=>'form-horizontal'])}}
<fieldset class="content-group">
<div class="form-group">
{{ Form::label('username', trans('user.label_username'),array('class'=>'control-label col-lg-2'))}}
<div class="col-lg-10">
{{Form::text('Username',null,['placeholder'=>'My Own Product','class'=>'form-control'])}}
@if($errors->has('Username'))
<small>{{$errors->first('Username')}}</small>
@endif
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-2">
{{trans('user.label_name')}}
</label>
<div class="col-lg-10">
{{Form::text('Name',null,['placeholder'=>'My Own Product','class'=>'form-control'])}}
@if($errors->has('Name'))
<small>{{$errors->first('Name')}}</small>
@endif
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-2">
{{trans('user.label_surname')}}
</label>
<div class="col-lg-10">
{{Form::text('Surname',null,['placeholder'=>'My Own Product','class'=>'form-control'])}}
@if($errors->has('Surname'))
<small>{{$errors->first('Surname')}}</small>
@endif
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-2">
{{trans('user.label_email')}}
</label>
<div class="col-lg-10">
{{Form::text('Email',null,['placeholder'=>'My Own Product','class'=>'form-control'])}}
@if($errors->has('Email'))
<small>{{$errors->first('Email')}}</small>
@endif
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-2">
{{trans('user.label_password')}}
</label>
<div class="col-lg-10">
{{Form::password('Password',['placeholder'=>'My Own Product','class'=>'form-control'])}}
@if($errors->has('Password'))
<small>{{$errors->first('Password')}}</small>
@endif
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-2">
{{trans('user.label_repassword')}}
</label>
<div class="col-lg-10">
{{Form::password('Repassword',['placeholder'=>'My Own Product','class'=>'form-control'])}}
@if($errors->has('Repassword'))
<small>{{$errors->first('Repassword')}}</small>
@endif
</div>
</div>
</fieldset>
<div class="text-right">
<button type="submit" class="btn m-b-xs btn-sm btn-primary btn-addon pull-right">
<i class="lnr lnr-cart"></i>
{{trans('user.create_user')}}
</button>
</div>
{{Form::close()}}
</div>
</div>
</div>
</div>
@stop
?>