aboutsummaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2010-08-05 19:37:10 +0200
committerJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2010-08-11 20:03:02 +0200
commit12102baa7d1c875c6ffd1d2941085c9679bd435d (patch)
tree5bbe831e98f53aed19e669950fcf486fe50f717d /app/views
parentAlternative login with openID (diff)
downloadrecruiting-webapp-12102baa7d1c875c6ffd1d2941085c9679bd435d.tar.gz
recruiting-webapp-12102baa7d1c875c6ffd1d2941085c9679bd435d.tar.bz2
recruiting-webapp-12102baa7d1c875c6ffd1d2941085c9679bd435d.zip
If user is invalid only thing [s]he can do is editing his/her account.
Diffstat (limited to 'app/views')
-rw-r--r--app/views/users/edit.dryml9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/users/edit.dryml b/app/views/users/edit.dryml
new file mode 100644
index 0000000..f974b53
--- /dev/null
+++ b/app/views/users/edit.dryml
@@ -0,0 +1,9 @@
+<edit-page if="&current_user.valid?" />
+<else>
+ <edit-page>
+ <body:>
+ <h1>Please set data for your account.</h1>
+ <form/>
+ </body:>
+ </edit-page>
+</else>