@extends('back-office.layouts.layout-default') @section('specific_css') @endsection @section('page_content')

Ajouter un nouvel adhérent

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach

@endif
@foreach($fields as $field) @php $field['config']['hotizontalRows'] = true; @endphp @include(sprintf('back-office.components.form.fields.%s', $field['type']), $field) @if ($field['type'] == 'password') @include(sprintf('back-office.components.form.fields.password'), $field = [ 'name' => 'password_confirmation', 'type' => 'password', 'label' => 'Retapez mot de passe', 'config' =>['hotizontalRows' => true] ]) @endif @endforeach
@csrf
@endsection @section('specific_js') @endsection