|
56 | 56 | </div>
|
57 | 57 | <h4><i class="fa fa-cubes"></i> User data</h4>
|
58 | 58 | {{Form::model($user_profile,['route'=>'users.profile.edit', 'method' => 'post'])}}
|
59 |
| - {{FormField::code(["label" => "User code:"])}} |
| 59 | +<!-- {{FormField::code(["label" => "User code:"])}}--> |
| 60 | + <!-- code text field --> |
| 61 | + <div class="form-group"> |
| 62 | + {{Form::label('code','User code:')}} |
| 63 | + {{Form::text('code', null, ['class' => 'form-control', 'placeholder' => ''])}} |
| 64 | + </div> |
60 | 65 | <span class="text-danger">{{$errors->first('code')}}</span>
|
61 |
| - {{FormField::first_name(["label" => "First name:"])}} |
| 66 | +<!-- {{FormField::first_name(["label" => "First name:"])}}--> |
| 67 | + <!-- first_name text field --> |
| 68 | + <div class="form-group"> |
| 69 | + {{Form::label('first_name','First name:')}} |
| 70 | + {{Form::text('first_name', null, ['class' => 'form-control', 'placeholder' => ''])}} |
| 71 | + </div> |
62 | 72 | <span class="text-danger">{{$errors->first('first_name')}}</span>
|
63 |
| - {{FormField::last_name(["label" => "Last name:"])}} |
| 73 | +<!-- {{FormField::last_name(["label" => "Last name:"])}}--> |
| 74 | + <!-- last_name text field --> |
| 75 | + <div class="form-group"> |
| 76 | + {{Form::label('last_name','Last name: ')}} |
| 77 | + {{Form::text('last_name', null, ['class' => 'form-control', 'placeholder' => ''])}} |
| 78 | + </div> |
64 | 79 | <span class="text-danger">{{$errors->first('last_name')}}</span>
|
65 |
| - {{FormField::phone(["label" => "Phone:"])}} |
| 80 | +<!-- {{FormField::phone(["label" => "Phone:"])}}--> |
| 81 | + <!-- phone text field --> |
| 82 | + <div class="form-group"> |
| 83 | + {{Form::label('phone','Phone: ')}} |
| 84 | + {{Form::text('phone', null, ['class' => 'form-control', 'placeholder' => ''])}} |
| 85 | + </div> |
66 | 86 | <span class="text-danger">{{$errors->first('phone')}}</span>
|
67 |
| - {{FormField::state(["label" => "State: "])}} |
| 87 | +<!-- {{FormField::state(["label" => "State: "])}}--> |
| 88 | + <!-- state text field --> |
| 89 | + <div class="form-group"> |
| 90 | + {{Form::label('state','State: ')}} |
| 91 | + {{Form::text('state', null, ['class' => 'form-control', 'placeholder' => ''])}} |
| 92 | + </div> |
68 | 93 | <span class="text-danger">{{$errors->first('state')}}</span>
|
69 |
| - {{FormField::vat(["label" => "Vat: "])}} |
| 94 | +<!-- {{FormField::vat(["label" => "Vat: "])}}--> |
| 95 | + <!-- var text field --> |
| 96 | + <div class="form-group"> |
| 97 | + {{Form::label('var','Vat: ')}} |
| 98 | + {{Form::text('var', null, ['class' => 'form-control', 'placeholder' => ''])}} |
| 99 | + </div> |
70 | 100 | <span class="text-danger">{{$errors->first('vat')}}</span>
|
71 |
| - {{FormField::city(["label" => "City: "])}} |
| 101 | +<!-- {{FormField::city(["label" => "City: "])}}--> |
| 102 | + <!-- city text field --> |
| 103 | + <div class="form-group"> |
| 104 | + {{Form::label('city','City: ')}} |
| 105 | + {{Form::text('city', null, ['class' => 'form-control', 'placeholder' => ''])}} |
| 106 | + </div> |
72 | 107 | <span class="text-danger">{{$errors->first('city')}}</span>
|
73 |
| - {{FormField::country(["label" => "Country: "])}} |
| 108 | +<!-- {{FormField::country(["label" => "Country: "])}}--> |
| 109 | + <!-- country text field --> |
| 110 | + <div class="form-group"> |
| 111 | + {{Form::label('country','Country: ')}} |
| 112 | + {{Form::text('country', null, ['class' => 'form-control', 'placeholder' => ''])}} |
| 113 | + </div> |
74 | 114 | <span class="text-danger">{{$errors->first('country')}}</span>
|
75 |
| - {{FormField::zip(["label" => "Zip: "])}} |
| 115 | +<!-- {{FormField::zip(["label" => "Zip: "])}}--> |
| 116 | + <!-- zip text field --> |
| 117 | + <div class="form-group"> |
| 118 | + {{Form::label('zip','Zip: ')}} |
| 119 | + {{Form::text('zip', null, ['class' => 'form-control', 'placeholder' => ''])}} |
| 120 | + </div> |
76 | 121 | <span class="text-danger">{{$errors->first('zip')}}</span>
|
77 |
| - {{FormField::address(["label" => "Address: "])}} |
| 122 | +<!-- {{FormField::address(["label" => "Address: "])}}--> |
| 123 | + <!-- address text field --> |
| 124 | + <div class="form-group"> |
| 125 | + {{Form::label('address','Address: ')}} |
| 126 | + {{Form::text('address', null, ['class' => 'form-control', 'placeholder' => ''])}} |
| 127 | + </div> |
78 | 128 | <span class="text-danger">{{$errors->first('address')}}</span>
|
79 |
| - |
80 | 129 | {{-- custom profile fields --}}
|
81 | 130 | @foreach($custom_profile->getAllTypesWithValues() as $profile_data)
|
82 | 131 | <div class="form-group">
|
|
0 commit comments