<?= $this->Form->create($cmscontacts, ['enctype' => 'multipart/form-data', 'class' => 'form-horizontal row-fluid']) ?>
<div class="row form-area">

    <p style="margin:0px 0px;">&nbsp;</p>
    <div class="container">

        <b>Add Content</b><br /><br />
        <div class="row form-group">
            <div class="col-sm-2 col-xs-12 field-label">
                Title
            </div>
            <div class="col-sm-10 col-xs-12 text-input mb-2">
                <?= $this->Form->control('title', ['class' => 'form-control', 'label' => false]); ?>
            </div>
        </div>

        <div class="row form-group">
            <div class="col-sm-2 col-xs-12 field-label">
                Content
            </div>
            <div class="col-sm-10 col-xs-12 text-input">
                <?= $this->Form->control('content', ['class' => 'form-control', 'label' => false,]); ?>
            </div>
        </div>

        <b>Phone Numbers</b><br /><br />
        <div class="row form-group mb-2">
            <div class="col-sm-2 col-xs-12 field-label">
                Phone 1
            </div>
            <div class="col-sm-10 col-xs-12 text-input">
                <?= $this->Form->control('phone1', ['class' => 'form-control', 'label' => false]); ?>
            </div>
        </div>

        <div class="row form-group mb-2">
            <div class="col-sm-2 col-xs-12 field-label">
                Phone 2
            </div>
            <div class="col-sm-10 col-xs-12 text-input">
                <?= $this->Form->control('phone2', ['class' => 'form-control', 'label' => false]); ?>
            </div>
        </div>

        <div class="row form-group">
            <div class="col-sm-2 col-xs-12 field-label">
                Phone 3
            </div>
            <div class="col-sm-10 col-xs-12 text-input">
                <?= $this->Form->control('phone3', ['class' => 'form-control', 'label' => false]); ?>
            </div>
        </div>

        <b>Locations</b><br /><br />
        <div class="row form-group mb-2">
            <div class="col-sm-2 col-xs-12 field-label">
                Address 1
            </div>
            <div class="col-sm-10 col-xs-12 text-input ">
                <?= $this->Form->control('address1', ['class' => 'form-control', 'label' => false]); ?>
            </div>
        </div>

        <div class="row form-group mb-2">
            <div class="col-sm-2 col-xs-12 field-label">
                Address 2
            </div>
            <div class="col-sm-10 col-xs-12 text-input ">
                <?= $this->Form->control('address2', ['class' => 'form-control ', 'label' => false]); ?>
            </div>
        </div>

        <div class="row form-group mb-2">
            <div class="col-sm-2 col-xs-12 field-label">
                Address 3
            </div>
            <div class="col-sm-10 col-xs-12 text-input ">
                <?= $this->Form->control('address3', ['class' => 'form-control', 'label' => false]); ?>
            </div>
        </div>

        <div class="row form-group mb-2">
            <div class="col-sm-2 col-xs-12 field-label">
                Postal Address
            </div>
            <div class="col-sm-10 col-xs-12 text-input ">
                <?= $this->Form->control('postal_address', ['class' => 'form-control', 'label' => false]); ?>
            </div>
        </div>

        <b>Emails</b><br /><br />
        <div class="row form-group mb-2">
            <div class="col-sm-2 col-xs-12 field-label">
                Email 1
            </div>
            <div class="col-sm-10 col-xs-12 text-input ">
                <?= $this->Form->control('email1', ['class' => 'form-control', 'label' => false]); ?>
            </div>
        </div>

        <div class="row form-group mb-2">
            <div class="col-sm-2 col-xs-12 field-label">
                Email 2
            </div>
            <div class="col-sm-10 col-xs-12 text-input ">
                <?= $this->Form->control('email2', ['class' => 'form-control', 'label' => false]); ?>
            </div>
        </div>
        
        <div class="row form-group">
            <div class="col-sm-2 col-xs-12 field-label">
                Email 3
            </div>
            <div class="col-sm-10 col-xs-12 text-input ">
                <?= $this->Form->control('email3', ['class' => 'form-control', 'label' => false]); ?>
            </div>
        </div>

        <b>Social Media Links</b><br /><br />
        <div class="row form-group mb-2">
            <div class="col-sm-2 col-xs-12 field-label">
                Facebook
            </div>
            <div class="col-sm-10 col-xs-12 text-input ">
                <?= $this->Form->control('facebook', ['class' => 'form-control', 'label' => false]); ?>
            </div>
        </div>

        <div class="row form-group mb-2">
            <div class="col-sm-2 col-xs-12 field-label">
                Twitter
            </div>
            <div class="col-sm-10 col-xs-12 text-input ">
                <?= $this->Form->control('twitter', ['class' => 'form-control', 'label' => false]); ?>
            </div>
        </div>

        <div class="row form-group mb-2">
            <div class="col-sm-2 col-xs-12 field-label">
                Instagram
            </div>
            <div class="col-sm-10 col-xs-12 text-input ">
                <?= $this->Form->control('instagram', ['class' => 'form-control', 'label' => false]); ?>
            </div>
        </div>

        <div class="row form-group mb-2">
            <div class="col-sm-2 col-xs-12 field-label">
                Linkedin
            </div>
            <div class="col-sm-10 col-xs-12 text-input ">
                <?= $this->Form->control('linkedin', ['class' => 'form-control', 'label' => false]); ?>
            </div>
        </div>

        <div class="row form-group mb-2">
            <div class="col-sm-2 col-xs-12 field-label">
                Youtube
            </div>
            <div class="col-sm-10 col-xs-12 text-input ">
                <?= $this->Form->control('youtube', ['class' => 'form-control', 'label' => false]); ?>
            </div>
        </div>

        <div class="row form-group mb-2">
            <div class="col-sm-2 col-xs-12 field-label">
                WhatsApp
            </div>
            <div class="col-sm-10 col-xs-12 text-input ">
                <?= $this->Form->control('whatsapp', ['class' => 'form-control', 'label' => false]); ?>
            </div>
        </div>

        <div class="row form-group mb-2">
            <div class="col-sm-2 col-xs-12 field-label">
                other
            </div>
            <div class="col-sm-10 col-xs-12 text-input ">
                <?= $this->Form->control('othersocialmedialink', ['class' => 'form-control', 'label' => false]); ?>
            </div>
        </div>

        <b>Map</b><br /><br />

        <div class="row form-group">
            <div class="col-sm-2 col-xs-12 field-label">
                Google Map Address
            </div>
            <div class="col-sm-10 col-xs-12 text-input ">
                <?= $this->Form->control('google_map_address', ['class' => 'form-control', 'label' => false, "placeholder" => "Enter embed google map string"]); ?>
            </div>
        </div>


        <div class="row">
            <div class="col-md-12 col-sm-12 d-flex justify-content-end align-items-end my-4">
                <?= $this->Form->button(__('Submit'), ['class' => 'btn btn-primary pull-right']) ?>
            </div>
        </div>
    </div>
</div>
<?= $this->Form->end() ?>