<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>{$Title}.</h1>
                    <% with $ChangePasswordForm %>
                        <% if $Message %>
                            <% include Alert %>
                        <% end_if %>
                        <form role="form" $FormAttributes novalidate name="ChangePasswordForm">
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="form-group">
                                        <% with $Fields.dataFieldByName('CurrentPassword') %>
                                            <label for="$ID">Current Password*</label>
                                            <input type="password" 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('Password') %>
                                            <label for="$ID">New Password*</label>
                                            <input type="password" 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('ConfirmPassword') %>
                                            <label for="$ID">Re-enter new password*</label>
                                            <input type="password" class="form-control" id="$ID" name="$Name" value="$Value">
                                        <% end_with %>
                                    </div>
                                </div>
                            </div>
                            {$HiddenFields}

                            <div class="form-submit">
                                <button id="ChangePasswordForm" class="btn btn-yellow" type="submit">Change Password</button>
                            </div>
                        </form>
                    <% end_with %>
                </div>
            </div>
        </div>
    </div>
</section>