Bug-fix-patch-36

# Refined UI for showing error messages in new layout of
login/registration/create-ticket/home page while login and registration.
# fixed registration error when email is non mandatory field.
This commit is contained in:
Manish Verma
2016-12-05 00:44:08 +05:30
parent d9ac2c1405
commit a24cd1e62b
8 changed files with 99 additions and 86 deletions

View File

@@ -150,13 +150,13 @@
@if(Session::has('check'))
<?php goto b; ?>
@endif
@if(Session::has('error'))
<div class="alert alert-danger alert-dismissable">
@if(Session::has('error'))
{!! Session::get('error') !!}
@else
{!! Lang::get('lang.required-error') !!}
@endif
</div>
@endif
<?php b: ?>
@endif
<div class="form-group has-feedback @if(isset($errors)) {!! $errors->has('email') ? 'has-error' : '' !!} @endif">