@extends('base') @section('title') Formulaire d'inscription @stop @section('additional_javascript') @stop @section('forward_links') {{-- Link to management --}} @if ($can_manage)

Gérer les inscriptions

@endif @if ($can_edit)

Modifier le formulaire

@endif @stop @section('back_links')

Retour à la page d'inscription

@stop @section('content')

Formulaire d'inscription

@if (Session::has('success_message'))

{{ Session::get('success_message'); }}

@endif

{{ Helper::rawToHTML(Parameter::get(Parameter::$REGISTRATION_FORM_HELP_INTRODUCTION)) }}

Remplissez le formulaire

@if (Session::has('error_message'))

{{ Session::get('error_message'); }}

@endif

{{ Helper::rawToHTML(Parameter::get(Parameter::$REGISTRATION_FORM_HELP_FILL_IN_FORM)) }}

{{ Form::open(array('url' => URL::route('registration_form_submit'), 'class' => 'form-horizontal')) }} Identité du scout

{{ Helper::rawToHTML(Parameter::get(Parameter::$REGISTRATION_FORM_HELP_IDENTITY)) }}

{{ Form::label('first_name', "Prénom", array('class' => 'col-md-3 control-label')) }}
{{ Form::text('first_name', '', array('class' => 'form-control')) }}

{{ Helper::rawToHTML(Parameter::get(Parameter::$REGISTRATION_FORM_HELP_FIRST_NAME)) }}

{{ Form::label('last_name', "Nom", array('class' => 'col-md-3 control-label')) }}
{{ Form::text('last_name', $default['last_name'], array('class' => 'form-control')) }}

{{ Helper::rawToHTML(Parameter::get(Parameter::$REGISTRATION_FORM_HELP_LAST_NAME)) }}

{{ Form::label('birth_date', "Date de naissance", array('class' => 'col-md-3 control-label')) }}
{{ Form::text('birth_date_day', '', array('class' => 'small form-control', 'placeholder' => 'Jour')) }} / {{ Form::text('birth_date_month', '', array('class' => 'small form-control', 'placeholder' => 'Mois')) }} / {{ Form::text('birth_date_year', '', array('class' => 'small form-control', 'placeholder' => 'Année')) }}

{{ Helper::rawToHTML(Parameter::get(Parameter::$REGISTRATION_FORM_HELP_BIRTH_DATE)) }}

{{ Form::label('gender', "Sexe", array('class' => 'col-md-3 control-label')) }}
{{ Form::select('gender', array('M' => 'Garçon', 'F' => 'Fille'), 'M', array('class' => 'form-control')) }}

{{ Helper::rawToHTML(Parameter::get(Parameter::$REGISTRATION_FORM_HELP_GENDER)) }}

{{ Form::label('nationality', "Nationalité", array('class' => 'col-md-3 control-label')) }}
{{ Form::text('nationality', $default['nationality'], array('class' => 'small form-control')) }}

{{ Helper::rawToHTML(Parameter::get(Parameter::$REGISTRATION_FORM_HELP_NATIONALITY)) }}

Adresse

{{ Helper::rawToHTML(Parameter::get(Parameter::$REGISTRATION_FORM_HELP_ADDRESS)) }}

{{ Form::label('address', "Rue et numéro", array('class' => 'col-md-3 control-label')) }}
{{ Form::text('address', $default['address'], array('class' => 'form-control')) }}

{{ Helper::rawToHTML(Parameter::get(Parameter::$REGISTRATION_FORM_HELP_ADDRESS_STREET)) }}

{{ Form::label('postcode', "Code postal", array('class' => 'col-md-3 control-label')) }}
{{ Form::text('postcode', $default['postcode'], array('class' => 'small form-control')) }}

{{ Helper::rawToHTML(Parameter::get(Parameter::$REGISTRATION_FORM_HELP_POSTCODE)) }}

{{ Form::label('city', "Localité", array('class' => 'col-md-3 control-label')) }}
{{ Form::text('city', $default['city'], array('class' => 'form-control')) }}

{{ Helper::rawToHTML(Parameter::get(Parameter::$REGISTRATION_FORM_HELP_CITY)) }}

Contact

{{ Helper::rawToHTML(Parameter::get(Parameter::$REGISTRATION_FORM_HELP_CONTACT)) }}

{{ Form::label('phone1', "Téléphone/GSM des parents", array('class' => 'control-label', 'style' => 'display: block;')) }}

{{ Helper::rawToHTML(Parameter::get(Parameter::$REGISTRATION_FORM_HELP_PHONE)) }}

{{ Form::text('phone1', $default['phone1'], array('placeholder' => "Numéro principal", 'class' => "form-control medium")) }} {{ Form::label('phone1_private', "Confidentiel (*) :", array('class' => 'control-label')) }} {{ Form::checkbox('phone1_private', 1, $default['phone1_private']) }} {{ Form::label('phone1_owner', 'Téléphone de', array('class' => 'control-label')) }} {{ Form::text('phone1_owner', $default['phone1_owner'], array('placeholder' => "Ex: maison", 'class' => "medium form-control")) }}
{{ Form::text('phone2', $default['phone2'], array('placeholder' => "Autre numéro", 'class' => "medium form-control")) }} {{ Form::label('phone2_private', "Confidentiel (*) :", array('class' => 'control-label')) }} {{ Form::checkbox('phone2_private', 1, $default['phone2_private']) }} {{ Form::label('phone2_owner', 'Téléphone de', array('class' => 'control-label')) }} {{ Form::text('phone2_owner', $default['phone2_owner'], array('placeholder' => "Ex: gsm maman", 'class' => "medium form-control")) }}
{{ Form::text('phone3', $default['phone3'], array('placeholder' => "Autre numéro", 'class' => "medium form-control")) }} {{ Form::label('phone3_private', "Confidentiel (*) :", array('class' => 'control-label')) }} {{ Form::checkbox('phone3_private', 1, $default['phone3_private']) }} {{ Form::label('phone3_owner', 'Téléphone de', array('class' => 'control-label')) }} {{ Form::text('phone3_owner', $default['phone3_owner'], array('placeholder' => "Ex: gsm papa", 'class' => "medium form-control")) }}
 
{{ Form::label('phone_member', "GSM du scout", array('class' => 'col-md-3 control-label')) }}
{{ Form::text('phone_member', '', array('placeholder' => "GSM du scout", 'class' => "medium form-control")) }} {{ Form::label('phone_member_private', "Confidentiel (*) :", array('class' => 'control-label')) }} {{ Form::checkbox('phone_member_private') }} {{ Helper::rawToHTML(Parameter::get(Parameter::$REGISTRATION_FORM_HELP_PHONE_MEMBER)) }}
{{ Form::label('email1', "Adresses e-mail des parents", array('class' => 'col-md-3 control-label')) }}
{{ Form::text('email1', $default['email1'], array('class' => 'form-control')) }} {{ Form::text('email2', $default['email2'], array('class' => 'form-control')) }} {{ Form::text('email3', $default['email3'], array('class' => 'form-control')) }}

{{ Helper::rawToHTML(Parameter::get(Parameter::$REGISTRATION_FORM_HELP_EMAIL)) }}

{{ Form::label('email_member', "Adresse e-mail du scout", array('class' => 'col-md-3 control-label')) }}
{{ Form::text('email_member', '', array('placeholder' => "", 'class' => 'form-control')) }}

{{ Helper::rawToHTML(Parameter::get(Parameter::$REGISTRATION_FORM_HELP_EMAIL_MEMBER)) }}

(*) Confidentiel signifie que seuls les animateurs auront accès à l'information.

Choix de la section

{{ Helper::rawToHTML(Parameter::get(Parameter::$REGISTRATION_FORM_HELP_SECTION_HEADER)) }}

{{ Form::label('section', "Section", array('class' => 'col-md-3 control-label')) }}
@if (Parameter::get(Parameter::$ADVANCED_REGISTRATIONS) && Parameter::get(Parameter::$REGISTRATION_GENERIC_SECTIONS)) {{ Form::select('section_category', Section::getExistingCategoriesForSelect(), '', array('class' => 'form-control')) }} @else {{ Form::select('section', Section::getSectionsForSelect(), $user->currentSection->id, array('class' => 'form-control')) }} @endif

{{ Helper::rawToHTML(Parameter::get(Parameter::$REGISTRATION_FORM_HELP_SECTION)) }}

{{ Form::label('totem', "Totem", array('class' => 'col-md-3 control-label')) }}
{{ Form::text('totem', '', array('class' => 'form-control')) }}

{{ Helper::rawToHTML(Parameter::get(Parameter::$REGISTRATION_FORM_HELP_TOTEM)) }}

{{ Form::label('quali', "Quali", array('class' => 'col-md-3 control-label')) }}
{{ Form::text('quali', '', array('class' => 'form-control')) }}

{{ Helper::rawToHTML(Parameter::get(Parameter::$REGISTRATION_FORM_HELP_QUALI)) }}

{{ Form::label('is_leader', "Inscription d'un animateur", array('class' => 'col-md-3 control-label')) }}
{{ Form::checkbox('is_leader') }}

{{ Helper::rawToHTML(Parameter::get(Parameter::$REGISTRATION_FORM_HELP_LEADER)) }}

Remarques particulières

{{ Helper::rawToHTML(Parameter::get(Parameter::$REGISTRATION_FORM_HELP_REMARKS)) }}

{{ Form::label('has_handicap', "Handicap", array('class' => 'col-md-3 control-label')) }}
{{ Form::checkbox('has_handicap') }}
{{ Form::textarea('handicap_details', '', array('placeholder' => "Détails du handicap", 'rows' => 3, 'class' => 'form-control')) }}

{{ Helper::rawToHTML(Parameter::get(Parameter::$REGISTRATION_FORM_HELP_HANDICAP)) }}

{{ Form::label('comments', "Commentaires", array('class' => 'col-md-3 control-label')) }}
{{ Form::textarea('comments', '', array('placeholder' => "Toute information utile à partager aux animateurs (sauf les informations médicales que vous serez invité à indiquer dans une fiche santé).", 'rows' => 3, 'class' => 'form-control')) }}

{{ Helper::rawToHTML(Parameter::get(Parameter::$REGISTRATION_FORM_HELP_COMMENTS)) }}

{{ Form::label('family_in_other_units', "Famille dans d'autres unités", array('class' => 'col-md-3 control-label')) }}
{{ Form::select('family_in_other_units', Member::getFamilyOtherUnitsForSelect(), $default['family_in_other_units'], array('class' => 'form-control medium')) }} {{ Form::textarea('family_in_other_units_details', $default['family_in_other_units_details'], array('placeholder' => "Si le scout a des frères et sœurs dans une autre unité, " . "cela peut entrainer une réduction de la cotisation. Indiquer " . "ici qui et dans quelle(s) unité(s).", 'rows' => 3, 'class' => 'form-control')) }}

{{ Helper::rawToHTML(Parameter::get(Parameter::$REGISTRATION_FORM_HELP_FAMILY)) }}

@if (Parameter::get(Parameter::$ADVANCED_REGISTRATIONS))
{{ Form::label('registration_siblings', "Frères et sœurs dans l'unité", array('class' => 'col-md-3 control-label')) }}
{{ Form::text('registration_siblings', $default['registration_siblings'], array('placeholder' => "Noms des frères et sœurs déjà dans l'unité", 'class' => 'form-control')) }}

{{ Helper::rawToHTML(Parameter::get(Parameter::$REGISTRATION_FORM_HELP_SIBLINGS)) }}

{{ Form::label('registration_former_leader_child', "Enfant d'ancien animateur", array('class' => 'col-md-3 control-label')) }}
{{ Form::text('registration_former_leader_child', $default['registration_former_leader_child'], array('placeholder' => "Nom du parent qui est un ancien animateur de l'unité", 'class' => 'form-control')) }}

{{ Helper::rawToHTML(Parameter::get(Parameter::$REGISTRATION_FORM_HELP_FORMER_LEADER_CHILD)) }}

@endif Terminer l'inscription

{{ Helper::rawToHTML(Parameter::get(Parameter::$REGISTRATION_FORM_HELP_FINISH)) }}

@if (Parameter::get(Parameter::$SHOW_UNIT_POLICY))
{{ Form::label('policy_agreement', "Engagement", array('class' => 'col-md-3 control-label')) }}

J'ai pris connaissance de la charte d'unité et y adhère entièrement : {{ Form::checkbox('policy_agreement') }}

@endif @if (Parameter::get(Parameter::$SHOW_GDPR))
{{ Form::label('gdpr_agreement', "RGPD", array('class' => 'col-md-3 control-label')) }}

J'ai pris connaissance du RGPD et l'accepte : {{ Form::checkbox('gdpr_agreement') }}

@endif
{{ Form::submit('Inscrire maintenant', array('class' => 'btn btn-primary')) }}
{{ Form::close() }}
@stop