Profile-edit-bug-fix-patch

Agent Profile update bug fixed for cheking unique mobile numbers
This commit is contained in:
Manish Verma
2016-11-03 16:46:47 +05:30
parent ca32203d6f
commit bb5b3131e2
2 changed files with 19 additions and 3 deletions

View File

@@ -46,17 +46,19 @@ class="active"
@endif
@if(Session::has('errors'))
<?php //dd($errors); ?>
@if($errors->first('first_name'))
<div class="alert alert-danger alert-dismissable">
<i class="fa fa-ban"></i>
<b>{!! Lang::get('lang.alert') !!}!</b>
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
<br/>
@if($errors->first('first_name'))
<li class="error-message-padding">{!! $errors->first('first_name', ':message') !!}</li>
@endif
@if($errors->first('mobile'))
<li class="error-message-padding">{!! $errors->first('mobile', ':message') !!}</li>
@endif
</div>
@endif
@endif
<!-- first name -->
<div class="form-group {{ $errors->has('first_name') ? 'has-error' : '' }}">
{!! Form::label('first_name',Lang::get('lang.first_name')) !!} <span class="text-red"> *</span>