replace {{ trans() }}
with @lang()
This commit is contained in:
parent
542b919bd1
commit
e075b9061e
10 changed files with 105 additions and 105 deletions
|
@ -27,13 +27,13 @@
|
|||
<div class="login-box-body">
|
||||
@if (session('status'))
|
||||
<div class="callout callout-success">
|
||||
{{ trans('auth.email_sent') }}
|
||||
@lang('auth.email_sent')
|
||||
</div>
|
||||
@endif
|
||||
<p class="login-box-msg">{{ trans('auth.request_reset_text') }}</p>
|
||||
<p class="login-box-msg">@lang('auth.request_reset_text')</p>
|
||||
<form action="{{ route('auth.password') }}" method="POST">
|
||||
<div class="form-group has-feedback">
|
||||
<input type="email" name="email" class="form-control" value="{{ old('email') }}" autofocus placeholder="{{ trans('strings.email') }}">
|
||||
<input type="email" name="email" class="form-control" value="{{ old('email') }}" autofocus placeholder="@lang('strings.email')">
|
||||
<span class="fa fa-envelope form-control-feedback"></span>
|
||||
@if ($errors->has('email'))
|
||||
<span class="help-block text-red small">
|
||||
|
@ -43,11 +43,11 @@
|
|||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-4">
|
||||
<a href="{{ route('auth.login') }}"><button type="button" class="btn btn-clear btn-block btn-flat">{{ trans('strings.login') }}</button></a>
|
||||
<a href="{{ route('auth.login') }}"><button type="button" class="btn btn-clear btn-block btn-flat">@lang('strings.login')</button></a>
|
||||
</div>
|
||||
<div class="col-xs-8">
|
||||
{!! csrf_field() !!}
|
||||
<button type="submit" class="btn btn-primary btn-block btn-flat">{{ trans('auth.request_reset') }}</button>
|
||||
<button type="submit" class="btn btn-primary btn-block btn-flat">@lang('auth.request_reset')</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
|
|
@ -25,12 +25,12 @@
|
|||
|
||||
@section('content')
|
||||
<div class="login-box-body">
|
||||
<p class="login-box-msg">{{ trans('auth.reset_password_text') }}</p>
|
||||
<p class="login-box-msg">@lang('auth.reset_password_text')</p>
|
||||
<form action="{{ route('auth.reset.post') }}" method="POST">
|
||||
<div class="form-group">
|
||||
<label for="email" class="control-label">{{ trans('strings.email') }}</label>
|
||||
<label for="email" class="control-label">@lang('strings.email')</label>
|
||||
<div>
|
||||
<input type="text" class="form-control" name="email" id="email" value="{{ $email or old('email') }}" required autofocus placeholder="{{ trans('strings.email') }}" />
|
||||
<input type="text" class="form-control" name="email" id="email" value="{{ $email or old('email') }}" required autofocus placeholder="@lang('strings.email')" />
|
||||
@if ($errors->has('email'))
|
||||
<span class="help-block text-red small">
|
||||
{{ $errors->first('email') }}
|
||||
|
@ -39,21 +39,21 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password" class="control-label">{{ trans('strings.password') }}</label>
|
||||
<label for="password" class="control-label">@lang('strings.password')</label>
|
||||
<div>
|
||||
<input type="password" class="form-control" name="password" id="password" required placeholder="{{ trans('strings.password') }}" />
|
||||
<input type="password" class="form-control" name="password" id="password" required placeholder="@lang('strings.password')" />
|
||||
@if ($errors->has('password'))
|
||||
<span class="help-block text-red small">
|
||||
{{ $errors->first('password') }}
|
||||
</span>
|
||||
@endif
|
||||
<p class="text-muted"><small>{{ trans('auth.password_requirements') }}</small></p>
|
||||
<p class="text-muted"><small>@lang('auth.password_requirements')</small></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password" class="control-label">{{ trans('strings.confirm_password') }}</label>
|
||||
<label for="password" class="control-label">@lang('strings.confirm_password')</label>
|
||||
<div>
|
||||
<input type="password" class="form-control" name="password_confirmation" id="password_confirmation" required placeholder="{{ trans('strings.confirm_password') }}" />
|
||||
<input type="password" class="form-control" name="password_confirmation" id="password_confirmation" required placeholder="@lang('strings.confirm_password')" />
|
||||
@if ($errors->has('password_confirmation'))
|
||||
<span class="help-block text-red small">
|
||||
{{ $errors->first('password_confirmation') }}
|
||||
|
@ -65,7 +65,7 @@
|
|||
<div class="col-xs-12">
|
||||
{!! csrf_field() !!}
|
||||
<input type="hidden" name="token" value="{{ $token }}">
|
||||
<button type="submit" class="btn btn-primary btn-block btn-flat">{{ trans('auth.reset_password') }}</button>
|
||||
<button type="submit" class="btn btn-primary btn-block btn-flat">@lang('auth.reset_password')</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
|
Reference in a new issue