Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
1.3 KiB
PHP
Raw Permalink Normal View History

2019-04-22 19:01:39 -05:00
@extends('layouts.librenmsv1')
@section('title', __('Create User'))
@section('content')
<div class="container">
<div class="row">
2019-05-31 20:04:01 -05:00
<form action="{{ route('users.store') }}" method="POST" role="form"
class="form-horizontal col-md-8 col-md-offset-2">
<legend>{{ __('Create User') }}</legend>
2019-07-17 07:20:26 -05:00
@csrf
2019-04-22 19:01:39 -05:00
<div class="form-group @if($errors->has('username')) has-error @endif">
<label for="realname" class="control-label col-sm-3">{{ __('Username') }}</label>
<div class="col-sm-9">
<input type="text" class="form-control" id="username" name="username"
value="{{ old('username', $user->username) }}">
<span class="help-block">{{ $errors->first('username') }}</span>
</div>
2019-04-22 19:01:39 -05:00
</div>
@include('user.form')
2019-04-22 19:01:39 -05:00
<div class="form-group">
<div class="col-sm-9 col-sm-offset-3">
<button type="submit" class="btn btn-primary">{{ __('Save') }}</button>
<a type="button" class="btn btn-danger" href="{{ route('users.index') }}">{{ __('Cancel') }}</a>
</div>
2019-04-22 19:01:39 -05:00
</div>
</form>
</div>
2019-04-22 19:01:39 -05:00
</div>
@endsection