]> ruin.nu Git - ndwebbie.git/blobdiff - root/src/settings/index.tt2
Replace the retal cron job with a web page
[ndwebbie.git] / root / src / settings / index.tt2
index c2a88ce8eb5a71ae017a91dfaf556c4ba8b2e883..2b5041918192a5c3accf003b2b347932a52b83bc 100644 (file)
@@ -9,6 +9,10 @@
        <br>
        <input type="submit" value="Change">
 </fieldset></form>
+<form action="[% c.uri_for('changeEmail') %]" method="post"><fieldset> <legend>Email</legend>
+       <input type="text" name="email" value="[% email | html %]" class="email">
+       <br><input type="submit" value="Change">
+</fieldset></form>
 <form action="[% c.uri_for('changeBirthday') %]" method="post"><fieldset> <legend>Birthday</legend>
        YYYY-MM-DD:
        <input type="text" name="birthday" value="[% birthday %]" id="birthday">
@@ -63,6 +67,7 @@ $(document).ready(function(){
                                        $("#tzcountry").append(opt);
                                        opt.attr('value',$(this).text()).text($(this).text());
                                });
+                               $("#tzcountry").change();
                        });
                }
        });