<section class="dashboard-page">
    <div class="container">
        <div class="row">
            <div class="col-sm-3 hidden-xs">
                <% include Dashboard_SideNav %>
            </div>
            <div class="col-sm-9">
                <div class="dashboard-page-content">
                    <h1>Your Account.</h1>
                    <% with $ProfileForm %>
                        <% if $Message %>
                            <% include Alert %>
                        <% end_if %>
                    <form role="form" $FormAttributes novalidate name="ProfileForm">
                        <div class="row">
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <% with $Fields.dataFieldByName('FirstName') %>
                                        <label for="$ID">First name*</label>
                                        <input type="text" class="form-control" id="$ID" name="$Name" value="$Value">
                                    <% end_with %>
                                </div>
                            </div>
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <% with $Fields.dataFieldByName('Surname') %>
                                        <label for="$ID">Last name*</label>
                                        <input type="text" class="form-control" id="$ID" name="$Name" value="$Value">
                                    <% end_with %>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <% with $Fields.dataFieldByName('Email') %>
                                        <label for="$ID">Email address*</label>
                                        <input type="email" class="form-control" id="$ID" name="$Name" value="$Value">
                                    <% end_with %>
                                </div>
                            </div>
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <% with $Fields.dataFieldByName('Phone') %>
                                        <label for="$ID">Phone number*</label>
                                        <input type="text" class="form-control" id="$ID" name="$Name" value="$Value">
                                    <% end_with %>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <% with $Fields.dataFieldByName('Address') %>
                                        <label for="$ID">Address*</label>
                                        <input type="text" class="form-control" id="$ID" name="$Name" value="$Value">
                                    <% end_with %>
                                </div>
                            </div>
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <% with $Fields.dataFieldByName('Suburb') %>
                                        <label for="$ID">Suburb</label>
                                        <input type="text" class="form-control" id="$ID" name="$Name" value="$Value">
                                    <% end_with %>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <% with $Fields.dataFieldByName('City') %>
                                        <label for="$ID">Town/City*</label>
                                        <input type="text" class="form-control" id="$ID" name="$Name" value="$Value">
                                    <% end_with %>
                                </div>
                            </div>
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <% with $Fields.dataFieldByName('Postcode') %>
                                        <label for="$ID">Postcode*</label>
                                        <input type="text" class="form-control" id="$ID" name="$Name" value="$Value">
                                    <% end_with %>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <% with $Fields.dataFieldByName('Country') %>
                                        <label for="$ID">Country*</label>
                                        <input type="text" class="form-control" id="$ID" name="$Name" value="$Value">
                                    <% end_with %>
                                </div>
                            </div>
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <% with $Fields.dataFieldByName('Company') %>
                                        <label for="$ID">Company</label>
                                        <input type="text" class="form-control" id="$ID" name="$Name" value="$Value">
                                    <% end_with %>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-6">
                                <div class="form-group form-group-select">
                                    <label>I am a*</label>
                                    <div class="lg-select">
                                        {$SVG('select-arrow').extraClass('svg-arrow').Width('11').Height('9')}
                                        <% with $Fields.dataFieldByName('Type') %>
                                            $Field
                                        <% end_with %>
                                    </div>
                                </div>
                            </div>
                        </div>
                        {$HiddenFields}

                        <div class="form-submit">
                            <button id="ProfileFormSubmit" class="btn btn-yellow" type="submit">Edit Account</button>
                        </div>
                    </form>
                    <% end_with %>
                </div>
            </div>
        </div>
    </div>
</section>