<nav class='top-bar' id='navbar'> <ul class='left'> <li class='name'><a href="/">Yakbat</a></li> </ul> <ul class='rest'> <li><a href="/teachers/new" data-remote="true" id="register_btn">Register</a></li> <li><a href="/signin" data-remote="true" id="login_btn">Signin</a></li> <li><a href="/demo">Demo</a></li> </ul> </nav> <div id='register_btn_nav'> <div class='login_form' id='register_form'> <form accept-charset="UTF-8" action="/teachers" class="new_teacher" id="new_teacher" method="post"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="&#x2713;" /><input name="authenticity_token" type="hidden" value="hvogAV24iVSOewHJFDkzP9zu9wZc6tYm6+cHJ7jCyGc=" /></div> <label for="teacher_name">Name</label> <input id="teacher_name" name="teacher[name]" size="30" type="text" /> <label for="teacher_email">Email</label> <input id="teacher_email" name="teacher[email]" size="30" type="text" /> <label for="teacher_password">Password</label> <input id="teacher_password" name="teacher[password]" size="30" type="password" /> <label for="teacher_password_confirmation">Password confirmation</label> <input id="teacher_password_confirmation" name="teacher[password_confirmation]" size="30" type="password" /> <input class="button" name="commit" type="submit" value="Sign me up" /> </form> </div> </div> <div id='login_btn_nav'> <div class='login_form' id='login_form'> <form accept-charset="UTF-8" action="/sessions" method="post"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="&#x2713;" /><input name="authenticity_token" type="hidden" value="hvogAV24iVSOewHJFDkzP9zu9wZc6tYm6+cHJ7jCyGc=" /></div> <label for="session_teacher_email">Teacher email</label> <input id="session_email" name="session[email]" size="30" type="text" /> <label for="session_teacher_password">Teacher password</label> <input id="session_password" name="session[password]" size="30" type="password" /> <input class="button" name="commit" type="submit" value="Sign in" /> </form> </div> </div>