Commits

Justin Venezuela committed 00be92e

Autocomplete off.

Comments (0)

Files changed (2)

 from sqlalchemy.orm import sessionmaker
 from sqlalchemy.ext.declarative import declarative_base
 
-engine = create_engine('sqlite:////mit/jven/web_scripts/workrepo_6170/assignment4/noted.db', convert_unicode=True)
+#engine = create_engine('sqlite:////mit/jven/web_scripts/workrepo_6170/assignment4/noted.db', convert_unicode=True)
+engine = create_engine('sqlite:///noted.db', convert_unicode=True)
 db_session = scoped_session(sessionmaker(autocommit=False, autoflush=False,
     bind=engine))
 Base = declarative_base()

src/templates/home.html

   <div class="register">
     <span class="funky label">New comer?</span>
     <div class="example_container">
-      <input type="text" class="textbox" title="Name" id="register_name" />
+      <input type="text" class="textbox" title="Name" id="register_name" autocomplete="off" />
       <div class="example">Name</div>
     </div>
     <div class="example_container">
-      <input type="text" class="textbox" title="E-mail" id="register_email" />
+      <input type="text" class="textbox" title="E-mail" id="register_email" autocomplete="off" />
       <div class="example">E-mail</div>
     </div>
     <div class="example_container">
-      <input type="password" class="textbox" title="Password" id="register_password_1" />
+      <input type="password" class="textbox" title="Password" id="register_password_1" autocomplete="off" />
       <div class="example">Password</div>
     </div>
     <div class="example_container">
-      <input type="password" class="textbox" title="One more time" id="register_password_2" />
+      <input type="password" class="textbox" title="One more time" id="register_password_2" autocomplete"off" />
       <div class="example">One more time</div>
     </div>
     <div id="register_submit" class="form_button" style="width:80px">Register</div>
   <div class="login">
     <span class="funky label">Old timer?</span>
     <div class="example_container">
-      <input type="text" class="textbox" title="E-mail" id="login_email" />
+      <input type="text" class="textbox" title="E-mail" id="login_email" autocomplete="off" />
       <div class="example">E-mail</div>
     </div>
     <div class="example_container">
-      <input type="password" class="textbox" title="Password" id="login_password" />
+      <input type="password" class="textbox" title="Password" id="login_password" autocomplete="off" />
       <div class="example">Password</div>
     </div>
     <div id="login_submit" class="form_button" style="width:60px">Login</div>