Top Level Namespace

Defined Under Namespace

Classes: BaseLine, RawLine, Spacer, SpacerLine

Instance Method Summary collapse

Instance Method Details

#expectedObject



193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
# File 'lib/spacify.rb', line 193

def expected 
    %q|
        <div id="signin_login_content" class="signin_show">
            <cfinput name="login_username"         tabIndex="1" type="text"     value="Username / Email"  required="yes"                                                             message="Missing or invalid username." validate="email"                                                                                                                                                        /> <br />
            <cfinput name="login_password_default" tabIndex="2" type="text"     value="optional password"                class="login_password_w_default subdued"     maxLength="20"                                                                                                                                                                                                                />
            <cfinput name="login_password"         tabIndex="3" type="Password"                           required="Yes" class="login_password_w_default signin_hide" maxLength="20"                                                           onBlur="if(this.value != '' ) this.value = calcMD5(this.value)" validateAt="onServer"                                                                />
            <cfinput name="submit"                 tabIndex="4" type="Submit"   value="Lemmie In!"                                                                                                                                                                                                                                                                                                  />
        </div>
        <div id="signin_register_content" class="signin_show signin_hide">
            I would like to access the features of your totally awesome site!! I would like to provide my
            <cfinput name="join_username"          tabIndex="5" type="text"     value="email address"     required="yes"                                                             message="Missing or invalid username." validate="email"                                                                                         onclick="if(this.value == this.defaultValue) this.value = '';" />
            as my username. I would like to provide my
            <cfinput name="join_zip"               tabIndex="6" type="text"     value="zip code"          required="yes"                                                             message="Missing or invalid zip."      validate="zipcode"                                                                                                                                                      />
            for location based service. I can provide an
            <cfinput name="join_password_default"  tabIndex="7" type="text"     value="optional password"                class="join_password_w_default subdued"      maxLength="20"                                                                                                                                                                                                                />
            <cfinput name="join_password"          tabIndex="8" type="Password"                           required="Yes" class="join_password_w_default signin_hide"  maxLength="20"                                                           onBlur="if(this.value != '' ) this.value = calcMD5(this.value)" validateAt="onServer"                                                                />
            or one will be sent to me. Please
            <cfinput name="submit"                 tabIndex="9" type="Submit"   value="sign me up"                                                                                                                                                                                                                                                                                                  /> for your service.
        </div>
|
end

#inputObject



215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
# File 'lib/spacify.rb', line 215

def input 
    %q|
        <div id="signin_login_content" class="signin_show">
            <cfinput type="text" required="yes" tabIndex="1" value="Username / Email" validate="email" name="login_username" message="Missing or invalid username." /> <br />
            <cfinput name="login_password_default" type="text" tabIndex="2" value="optional password" maxLength="20" class="login_password_w_default subdued" />
            <cfinput class="login_password_w_default signin_hide" type="Password" required="Yes" tabIndex="3" name="login_password" maxLength="20" validateAt="onServer" onBlur="if(this.value != '' ) this.value = calcMD5(this.value)" />
            <cfinput type="Submit" name="submit" tabIndex="4" value="Lemmie In!" />
        </div>
        <div id="signin_register_content" class="signin_show signin_hide">
            I would like to access the features of your totally awesome site!! I would like to provide my
            <cfinput name="join_username" type="text" required="yes" tabIndex="5" value="email address" validate="email" message="Missing or invalid username." onclick="if(this.value == this.defaultValue) this.value = '';" />
            as my username. I would like to provide my
            <cfinput type="text" required="yes" tabIndex="6" name="join_zip" value="zip code" validate="zipcode" message="Missing or invalid zip." />
            for location based service. I can provide an
            <cfinput type="text" tabIndex="7" value="optional password" name="join_password_default" class="join_password_w_default subdued" maxLength="20" />
            <cfinput name="join_password" type="Password" required="Yes" tabIndex="8" class="join_password_w_default signin_hide" maxLength="20" validateAt="onServer" onBlur="if(this.value != '' ) this.value = calcMD5(this.value)" />
            or one will be sent to me. Please
            <cfinput name="submit" type="Submit" tabIndex="9" value="sign me up" /> for your service.
        </div>
|
end