|
18 | 18 |
|
19 | 19 |
|
20 | 20 |
|
| 21 | + |
21 | 22 | <div class="row">
|
| 23 | + |
22 | 24 | @include('profile.menu')
|
23 | 25 | <div class="col-md-8">
|
24 | 26 |
|
| 27 | + @if(session('msg')) |
| 28 | + <div class="alert alert-info"> |
| 29 | + <a href='#' class="close" data-dismiss="alert" aria-label="close">x</a> |
| 30 | + {{session('msg')}} |
| 31 | + |
| 32 | + </div> |
| 33 | + @endif |
| 34 | + |
25 | 35 | <h3><span style='color:green'>{{ucwords(Auth::user()->name)}}</span>, Your Address</h3>
|
26 | 36 |
|
27 | 37 | {!! Form::open(['url' => 'updateAddress', 'method' => 'post']) !!}
|
28 | 38 |
|
29 |
| -@foreach($address_data as $value) |
| 39 | + @foreach($address_data as $value) |
30 | 40 | <div class="container" >
|
31 | 41 |
|
32 | 42 |
|
|
35 | 45 | <div class="form-group col-md-6">
|
36 | 46 | <label for="example-text-input" >Full Name</label>
|
37 | 47 | <input class="form-control" type="text" name="fullname" value="{{$value->fullname}}">
|
38 |
| - <span style="color:red">{{ $errors->first('fullname') }}</span> |
| 48 | + <span style="color:red">{{ $errors->first('fullname') }}</span> |
39 | 49 | </div>
|
40 | 50 | </div>
|
41 | 51 | <div class="form-group row">
|
42 | 52 |
|
43 | 53 | <div class="form-group col-md-6">
|
44 | 54 | <label for="example-text-input">City</label>
|
45 | 55 | <input class="form-control" type="text" name="city" value="{{$value->city}}">
|
46 |
| - <span style="color:red">{{ $errors->first('city') }}</span> |
| 56 | + <span style="color:red">{{ $errors->first('city') }}</span> |
47 | 57 | </div>
|
48 | 58 | </div>
|
49 | 59 | <div class="form-group row">
|
50 | 60 |
|
51 | 61 | <div class="form-group col-md-6">
|
52 | 62 | <label for="example-text-input" >State</label>
|
53 | 63 | <input class="form-control" type="text" name="state" value="{{$value->state}}">
|
54 |
| - <span style="color:red">{{ $errors->first('state') }}</span> |
| 64 | + <span style="color:red">{{ $errors->first('state') }}</span> |
55 | 65 | </div>
|
56 | 66 | </div>
|
57 | 67 | <div class="form-group row">
|
58 | 68 |
|
59 | 69 | <div class="form-group col-md-6">
|
60 | 70 | <label for="example-text-input" >Pincode</label>
|
61 | 71 | <input class="form-control" type="text" name="pincode" value="{{$value->pincode}}">
|
62 |
| - <span style="color:red">{{ $errors->first('pincode') }}</span> |
| 72 | + <span style="color:red">{{ $errors->first('pincode') }}</span> |
63 | 73 | </div>
|
64 | 74 | </div>
|
65 | 75 | <div class="form-group row">
|
66 | 76 |
|
67 | 77 | <div class="form-group col-md-6">
|
68 | 78 | <label for="example-text-input" >Country</label>
|
69 | 79 | <input class="form-control" type="text" name="country" value="{{$value->country}}">
|
70 |
| - <span style="color:red">{{ $errors->first('country') }}</span> |
| 80 | + <span style="color:red">{{ $errors->first('country') }}</span> |
71 | 81 | </div>
|
72 | 82 | </div>
|
73 | 83 | <div class="form-group row">
|
|
79 | 89 |
|
80 | 90 |
|
81 | 91 | </div>
|
82 |
| -@endforeach |
| 92 | + @endforeach |
83 | 93 | {!! Form::close() !!}
|
84 | 94 | </div>
|
85 | 95 | </div>
|
|
0 commit comments