class Login

Public Class Methods

new(h={}) click to toggle source
# File lib/h2g_ajaxchat.rb, line 311
def initialize(h={})

end

Public Instance Methods

html() click to toggle source
# File lib/h2g_ajaxchat.rb, line 315
  def html()

    @html ||= '
<div id="loginform">
<form action="login" method="post">
  <p>Please enter your name to continue:</p>
  <label for="name">Name:</label>
  <input type="text" name="name" id="name" autofocus="true"/>
  <input type="submit" name="enter" id="enter" value="Enter" />
</form>
</div>
'

  end