|
55 | 55 | </div> |
56 | 56 | </div> |
57 | 57 | </div> |
58 | | - {{ html()->model($user->profile) }} |
| 58 | + @php( html()->model($user->profile) ) |
59 | 59 | {{ html()->form('POST', route('profile.update', $user->name)) |
60 | 60 | ->id('user_profile_form') |
61 | 61 | ->class('form-horizontal') |
|
161 | 161 | </div> |
162 | 162 | </div> |
163 | 163 | {{ html()->form()->close() }} |
164 | | - {{ html()->endModel() }} |
| 164 | + @php( html()->endModel() ) |
165 | 165 | </div> |
166 | 166 |
|
167 | 167 | <div class="tab-pane fade edit-settings-tab" role="tabpanel" aria-labelledby="edit-settings-tab"> |
168 | | - {{ html()->model($user) }} |
| 168 | + @php( html()->model($user) ) |
169 | 169 | {{ html()->form('POST', action([App\Http\Controllers\ProfilesController::class, 'updateUserAccount'], $user->id)) |
170 | 170 | ->id('user_basics_form') |
171 | 171 | ->open() }} |
|
265 | 265 | </div> |
266 | 266 | </div> |
267 | 267 | {{ html()->form()->close() }} |
268 | | - {{ html()->endModel() }} |
| 268 | + @php( html()->endModel() ) |
269 | 269 | </div> |
270 | 270 |
|
271 | 271 | <div class="tab-pane fade edit-account-tab" role="tabpanel" aria-labelledby="edit-account-tab"> |
|
289 | 289 | {{ trans('profile.changePwTitle') }} |
290 | 290 | </h3> |
291 | 291 |
|
292 | | - {{ html()->model($user) }} |
| 292 | + @php( html()->model($user) ) |
293 | 293 | {{ html()->form('POST', action([App\Http\Controllers\ProfilesController::class, 'updateUserPassword'], $user->id)) |
294 | 294 | ->attribute('autocomplete', 'new-password') |
295 | 295 | ->open() }} |
|
340 | 340 | </div> |
341 | 341 | </div> |
342 | 342 | {{ html()->form()->close() }} |
343 | | - {{ html()->endModel() }} |
| 343 | + @php( html()->endModel() ) |
344 | 344 |
|
345 | 345 | </div> |
346 | 346 |
|
|
357 | 357 | <div class="row"> |
358 | 358 | <div class="col-sm-6 offset-sm-3 margin-bottom-3 text-center"> |
359 | 359 |
|
360 | | - {{ html()->model($user) }} |
| 360 | + @php( html()->model($user) ) |
361 | 361 | {{ html()->form('POST', action([App\Http\Controllers\ProfilesController::class, 'deleteUserAccount'], $user->id)) |
362 | 362 | ->open() }} |
363 | 363 |
|
|
374 | 374 | </div> |
375 | 375 |
|
376 | 376 | {{ html()->button('<i class="fa fa-trash-o fa-fw" aria-hidden="true"></i>' . trans('profile.deleteAccountBtn')) |
377 | | - ->class('btn btn-block btn-danger') |
378 | | - ->id('delete_account_trigger') |
379 | | - ->disabled() |
380 | | - ->type('button') |
381 | | - ->attribute('data-toggle', 'modal') |
382 | | - ->attribute('data-submit', trans('profile.deleteAccountBtnConfirm')) |
383 | | - ->attribute('data-target', '#confirmForm') |
384 | | - ->attribute('data-modalClass', 'modal-danger') |
385 | | - ->attribute('data-title', trans('profile.deleteAccountConfirmTitle')) |
386 | | - ->attribute('data-message', trans('profile.deleteAccountConfirmMsg')) }} |
| 377 | + ->class('btn btn-block btn-danger') |
| 378 | + ->id('delete_account_trigger') |
| 379 | + ->disabled() |
| 380 | + ->type('button') |
| 381 | + ->attribute('data-toggle', 'modal') |
| 382 | + ->attribute('data-submit', trans('profile.deleteAccountBtnConfirm')) |
| 383 | + ->attribute('data-target', '#confirmForm') |
| 384 | + ->attribute('data-modalClass', 'modal-danger') |
| 385 | + ->attribute('data-title', trans('profile.deleteAccountConfirmTitle')) |
| 386 | + ->attribute('data-message', trans('profile.deleteAccountConfirmMsg')) }} |
387 | 387 |
|
388 | 388 | {{ html()->form()->close() }} |
389 | | - {{ html()->endModel() }} |
| 389 | + @php( html()->endModel() ) |
390 | 390 |
|
391 | 391 | </div> |
392 | 392 | </div> |
|
0 commit comments