EvanCarroll has asked for the wisdom of the Perl Monks concerning the following question:
Like that of sort<%method .non_auth> <div class="small_text"> <h1><% $m->content %>You are not logged in:</h1> If you don't have a login, Click <a href="/create_user.html">here< +/a> to create one. </div> <form method="post" action="/index.html"> <table class="form_fields"> <tr> <td>User Name: </td> <td><input type="text" name="name_user" /></td> </tr> <tr> <td>Password: </td> <td><input type="password" name="password" value="" alt="Requi +red only for admins"/></td> </tr> </table> <div style="text-align:right"> <input type="submit" value="Proceed" /> </div> </form> </%method> %# Invalid user name or password OR username deleted from table <%method .error_auth> <&| SELF:.non_auth &>101: Invalid username or password, </&> </%method>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Seperating logic from web display using mason
by aufflick (Deacon) on Oct 02, 2005 at 01:47 UTC | |
by EvanCarroll (Chaplain) on Oct 02, 2005 at 02:00 UTC | |
by aufflick (Deacon) on Oct 02, 2005 at 12:33 UTC | |
|
Re: Problem with Mason, can it be solved with a subrequest?
by Arunbear (Prior) on Oct 02, 2005 at 19:26 UTC |