HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers110/franciscaansebeweging.nl/app/views/layouts/pages/becomeFriend.blade.php
@extends('layouts.master')

@section('sideHeader')

    @include('layouts.partials.about.subMenu')

@endsection


@section('editable_content')

    <div class="after-menu">

        @include('layouts.partials.header')

        @include('layouts.partials.subscribe.description')

        {{--@include('forms.becomeFriend')--}}

        @include('layouts.partials.webshopTextButton', [
            'webshopButtonDescription' => trans('translations.becomeMemberWebshopDescription'),
            'webshopButtonLink' => \Config::get('business.becomeMemberWebshopLink')
        ])

{{--        @include('layouts.partials.becomeMember')--}}

    </div>

@endsection

@section('extra-js')
    <script type="text/javascript" src="/js/form.js"></script>
    <script>

        //Define form
        var friendForm = new Form('friendForm', ['firstName', 'lastName',  'email', 'phone', 'accountNumber']);

        // Submit button
        document.querySelector('#friendForm .submit').addEventListener('click', function () {

            friendForm.validate();
            if(friendForm.valid) friendForm.send();

        });

    </script>
@endsection