diff options
| author | Malf Furious <m@lfurio.us> | 2016-05-22 01:59:53 -0400 | 
|---|---|---|
| committer | Malf Furious <m@lfurio.us> | 2016-05-22 01:59:53 -0400 | 
| commit | a99a0afd57a109f581c676b8dd3622dd3e901553 (patch) | |
| tree | 9f8c82231efc2a7fcfc5ac69733bb928308cf942 | |
| parent | f8f8cd372ca2bb6498d96318c159405db13a9fab (diff) | |
| download | scrott-a99a0afd57a109f581c676b8dd3622dd3e901553.tar.gz scrott-a99a0afd57a109f581c676b8dd3622dd3e901553.zip | |
Create view for delete account MVC
This page prompts for user password before actually deleteing their
account.
Diffstat (limited to '')
| -rw-r--r-- | app/view/deleteacct/default.view.php | 24 | 
1 files changed, 24 insertions, 0 deletions
| diff --git a/app/view/deleteacct/default.view.php b/app/view/deleteacct/default.view.php index b078861..de32202 100644 --- a/app/view/deleteacct/default.view.php +++ b/app/view/deleteacct/default.view.php @@ -8,6 +8,30 @@      <body>          <?php include "view/common/topp.view.php"; ?> + +        <div class="container"> +            <div class="panel panel-danger"> +                <div class="panel-heading">Warning: Deleting your user account!</div> + +                <div class="panel-body text-center"> +                    <form method="post" action="<?=$mod->ap()?>"> +                        <input type="hidden" name="input[action]" value="delete" /> +                        <h1>Are you sure?!</h1> +                        <h4>Please confirm you want to delete your Scrott account.  Type your current password in the box below and click the confirm button</h4> + +                        <div class="form-group"> +                            <label>Password</label> +                            <input type="password" name="input[password]" class="form-control" autofocus /> +                        </div> + +                        <button type="submit" class="btn btn-danger btn-lg"> +                            <span class="glyphicon glyphicon-trash"></span> Confirm Delete Account +                        </button> +                    </form> +                </div> +            </div> +        </div> +          <?php include "view/common/foot.view.php"; ?>      </body>  </html> | 
