refs #443 form element add manuel
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
<form role="form" method="POST" action="{{ url('auth/forgot') }}">
|
||||
{{ csrf_field() }}
|
||||
|
||||
@stack('email_input_start')
|
||||
|
||||
<div class="form-group has-feedback{{ $errors->has('email') ? ' has-error' : '' }}">
|
||||
<input name="email" type="email" class="form-control" placeholder="{{ trans('auth.enter_email') }}" required>
|
||||
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
|
||||
@@ -16,6 +18,9 @@
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
@stack('email_input_end')
|
||||
|
||||
<div class="row">
|
||||
<!-- /.col -->
|
||||
<div class="col-sm-offset-8 col-sm-4">
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
<form role="form" method="POST" action="{{ url('auth/login') }}">
|
||||
{{ csrf_field() }}
|
||||
|
||||
@stack('email_input_start')
|
||||
<div class="form-group has-feedback{{ $errors->has('email') ? ' has-error' : '' }}">
|
||||
<input name="email" type="email" class="form-control" placeholder="{{ trans('general.email') }}" required autofocus>
|
||||
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
|
||||
@@ -16,6 +17,9 @@
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
@stack('email_input_end')
|
||||
|
||||
@stack('password_input_start')
|
||||
<div class="form-group has-feedback{{ $errors->has('password') ? ' has-error' : '' }}">
|
||||
<input name="password" type="password" class="form-control" placeholder="{{ trans('auth.password.current') }}" required>
|
||||
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
|
||||
@@ -25,7 +29,10 @@
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
@stack('password_input_end')
|
||||
|
||||
<div class="row">
|
||||
@stack('remember_input_start')
|
||||
<div class="col-sm-8">
|
||||
<div class="checkbox icheck">
|
||||
<label>
|
||||
@@ -33,7 +40,9 @@
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
@stack('remember_input_end')
|
||||
<!-- /.col -->
|
||||
|
||||
<div class="col-sm-4">
|
||||
<button type="submit" class="btn btn-success btn-block btn-flat">{{ trans('auth.login') }}</button>
|
||||
</div>
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
|
||||
<input type="hidden" name="token" value="{{ $token }}">
|
||||
|
||||
@stack('email_input_start')
|
||||
<div class="form-group has-feedback{{ $errors->has('email') ? ' has-error' : '' }}">
|
||||
<input name="email" type="email" class="form-control" placeholder="{{ trans('auth.current_email') }}" value="{{ $email or old('email') }}" required autofocus>
|
||||
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
|
||||
@@ -18,7 +19,9 @@
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
@stack('email_input_end')
|
||||
|
||||
@stack('password_input_start')
|
||||
<div class="form-group has-feedback{{ $errors->has('password') ? ' has-error' : '' }}">
|
||||
<input name="password" type="password" class="form-control" placeholder="{{ trans('auth.password.new') }}" required>
|
||||
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
|
||||
@@ -28,7 +31,9 @@
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
@stack('password_input_end')
|
||||
|
||||
@stack('password_confirmation_input_start')
|
||||
<div class="form-group has-feedback{{ $errors->has('password_confirmation') ? ' has-error' : '' }}">
|
||||
<input name="password_confirmation" type="password" class="form-control" placeholder="{{ trans('auth.password.new_confirm') }}" required>
|
||||
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
|
||||
@@ -38,6 +43,7 @@
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
@stack('password_confirmation_input_end')
|
||||
|
||||
<div class="row">
|
||||
<!-- /.col -->
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
{{ Form::selectGroup('locale', trans_choice('general.languages', 1), 'flag', language()->allowed(), setting('general.default_locale')) }}
|
||||
|
||||
@if (setting('general.use_gravatar', '0') == '1')
|
||||
@stack('picture_input_start')
|
||||
{{ Form::hidden('picture', trans_choice('general.pictures', 1)) }}
|
||||
<div class="form-group col-md-6">
|
||||
{!! Form::label('picture', trans_choice('general.pictures', 1), ['class' => 'control-label']) !!}
|
||||
@@ -28,6 +29,7 @@
|
||||
{!! Form::hidden('picture', null, ['id' => 'picture', 'class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
@stack('picture_input_end')
|
||||
@else
|
||||
{{ Form::fileGroup('picture', trans_choice('general.pictures', 1)) }}
|
||||
@endif
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
{{ Form::selectGroup('locale', trans_choice('general.languages', 1), 'flag', language()->allowed()) }}
|
||||
|
||||
@if (setting('general.use_gravatar', '0') == '1')
|
||||
@stack('picture_input_start')
|
||||
<div class="form-group col-md-6">
|
||||
{!! Form::label('picture', trans_choice('general.pictures', 1), ['class' => 'control-label']) !!}
|
||||
<div class="input-group">
|
||||
@@ -32,6 +33,7 @@
|
||||
{!! Form::hidden('picture', null, ['id' => 'picture', 'class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
@stack('picture_input_end')
|
||||
@else
|
||||
{{ Form::fileGroup('picture', trans_choice('general.pictures', 1)) }}
|
||||
@endif
|
||||
|
||||
Reference in New Issue
Block a user