diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-11-09 02:04:26 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-11-09 02:11:46 -0500 |
| commit | d7385f6e25ae41d8b3021c4e01727848ac5922bd (patch) | |
| tree | e5895cf0f9361c20254c3cbc890794430889640e /StoneIsland/www/js/lib/account/SignupView.js | |
| parent | 9cb9177accbbf6e4397cc71bc06dff0ccd47f441 (diff) | |
signup view
Diffstat (limited to 'StoneIsland/www/js/lib/account/SignupView.js')
| -rw-r--r-- | StoneIsland/www/js/lib/account/SignupView.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/StoneIsland/www/js/lib/account/SignupView.js b/StoneIsland/www/js/lib/account/SignupView.js index 395c0b00..c6cd2930 100644 --- a/StoneIsland/www/js/lib/account/SignupView.js +++ b/StoneIsland/www/js/lib/account/SignupView.js @@ -1,5 +1,28 @@ var SignupView = View.extend({ el: "#signup", + + events: { + "submit form": "submit", + }, + + initialize: function(){ + this.$form = this.$("form") + this.$msg = this.$(".msg") + }, + + show: function(){ + this.$form.get(0).reset() + this.$msg.html("* Your personal and payment information will always remain private") + document.body.className = "signup" + }, + + submit: function(e){ + e.preventDefault() + }, + + success: function(){ + // change login in ui to logout or whatever + }, })
\ No newline at end of file |
