<!-- BEGIN CONTENT -->
<div class="page-content-wrapper">
    <div class="page-content">
        <!-- BEGIN PAGE HEADER-->
        <h3 class="page-title">
            {$shcontrollname}
        </h3>
        <div class="page-bar">
            <ul class="page-breadcrumb">
                {$breadcrumbs}
            </ul>
        </div>
        <!-- END PAGE HEADER-->
        <!-- BEGIN PAGE CONTENT-->
        <div class="row">
            <div class="col-md-12">
                <div class="portlet light bg-inverse">
                    <div class="portlet-title">
                        <div class="caption">
                            <i class="icon-equalizer font-red-sunglo"></i>
                            <span class="caption-subject font-red-sunglo bold uppercase">Edit in {$shcontrollname}</span>
                        </div>
                    </div>
                    <div class="portlet-body form">
                        <!-- BEGIN FORM-->
                        <form action="{$hosturl}/controllers/{$controllname}.php?ac=updateit" method="post" class="form-horizontal" id="myprofile_form">
                            <div class="form-body">
                                <div class="alert alert-danger display-hide">
                                    <button class="close" data-close="alert"></button>
                                    You have errors, see it again.
                                </div>
                                <div class="alert alert-success display-hide">
                                    <button class="close" data-close="alert"></button>
                                    You are good, GO ON.
                                </div>

                                <h3 class="form-section">My info</h3>
                                <div class="form-group form-md-line-input has-info">
                                    <div class="input-group">
                                        <span class="input-group-addon">
                                            <i class="fa fa-user-md"></i>
                                        </span>
                                        <input type="text" class="form-control" placeholder="My name" name="name" value="{$user.name}">
                                        <label for="form_control_1">My name</label>
                                    </div>
                                </div>
                                <div class="form-group form-md-line-input has-info">
                                    <div class="input-group">
                                        <span class="input-group-addon">
                                            <i class="fa fa-envelope"></i>
                                        </span>
                                        <input type="text" class="form-control" placeholder="Email Address" name="email" id="email" value="{$user.user_email}" data-edit="{$user.user_email}">
                                        <label for="form_control_1">Email Address</label>
                                    </div>
                                    <div class="alert alert-warning display-hide" id="showerroremail">
                                        <button class="close" data-close="alert"></button>
                                        Use another one , this used before with other user.
                                    </div>
                                </div>

                                <h3 class="form-section">Login info</h3>
                                <div class="form-group form-md-line-input has-info">
                                    <div class="input-group">
                                        <span class="input-group-addon">
                                            <i class="fa fa-user"></i>
                                        </span>
                                        <input type="text" class="form-control" placeholder="Username" name="username" id="username" value="{$user.user_name}" data-edit="{$user.user_name}">
                                        <label for="form_control_1">Username</label>
                                    </div>
                                    <div class="alert alert-warning display-hide" id="showerrorusername">
                                        <button class="close" data-close="alert"></button>
                                        Use another one , this used before with other user.
                                    </div>
                                </div>
                                <div class="form-group form-md-line-input has-info">
                                    <div class="input-group">
                                        <span class="input-group-addon">
                                            <i class="fa fa-anchor"></i>
                                        </span>
                                        <input type="password" class="form-control" placeholder="New password" name="epassword" id="epassword">
                                        <label for="form_control_1">New password</label>
                                    </div>
                                </div>
                                <div class="form-group form-md-line-input has-info">
                                    <div class="input-group">
                                        <span class="input-group-addon">
                                            <i class="fa fa-anchor"></i>
                                        </span>
                                        <input type="password" class="form-control" placeholder="Confirm new password" name="econfirmpassword">
                                        <label for="form_control_1">Confirm new password</label>
                                    </div>
                                </div>

                                <input type="hidden" name="oldpassword" value="{$user.user_password_hash}" />

                            </div>
                            <div class="form-actions">
                                <div class="row">
                                    <div class="col-md-offset-5 col-md-4">
                                        <button type="submit" class="btn green">Update</button>
                                    </div>
                                </div>
                            </div>
                        </form>
                        <!-- END FORM-->
                    </div>
                </div>
            </div>
        </div>
        <!-- END PAGE CONTENT-->
    </div>
</div>
<!-- END CONTENT -->