Removed facades lang and url from views

This commit is contained in:
Joseph Cohen
2015-01-01 15:15:07 -06:00
parent 82ac6b12b5
commit eda027a88c
23 changed files with 120 additions and 120 deletions
+6 -6
View File
@@ -8,27 +8,27 @@
</div>
{{ Form::open() }}
<fieldset>
<legend>{{ Lang::get('cachet.login_message') }}</legend>
<legend>{{ trans('cachet.login_message') }}</legend>
@if(Session::has('error'))
<span class='text-danger'>{{ Session::get('error') }}</span>
@endif
<div class='form-group'>
<label class='sr-only'>{{ Lang::get('cachet.forms.email') }}</label>
<label class='sr-only'>{{ trans('cachet.forms.email') }}</label>
{{ Form::email('email', Input::old('email'), [
'class' => 'form-control', 'placeholder' => Lang::get('cachet.forms.email'), 'required' => 'required'
'class' => 'form-control', 'placeholder' => trans('cachet.forms.email'), 'required' => 'required'
]) }}
</div>
<div class='form-group'>
<label class='sr-only'>{{ Lang::get('cachet.forms.password') }}</label>
<label class='sr-only'>{{ trans('cachet.forms.password') }}</label>
{{ Form::password('password', [
'class' => 'form-control', 'placeholder' => Lang::get('cachet.forms.password'), 'required' => 'required'
'class' => 'form-control', 'placeholder' => trans('cachet.forms.password'), 'required' => 'required'
]) }}
</div>
<hr />
<div class='form-group'>
<button type='submit' class='btn btn-lg btn-block btn-success'>{{ Lang::get('cachet.login') }}</button>
<button type='submit' class='btn btn-lg btn-block btn-success'>{{ trans('cachet.login') }}</button>
</div>
</fieldset>
{{ Form::close() }}