% if @login.guest? %> Hello, guest's Div. (if you have account, <%=a('logout', {}, context)%>click here.) <% elsif @login.login? %> Hello, <%=h @login.name%>. (if you're not <%=h @login.name%>, <%=a('logout', {}, context)%>click here.) <% else %> <%= form('login', context) %>
| user | |
|---|---|
| password | |
| <%=a('guest', {}, context)%>login guest account. | |