58 | | <div xmlns:py="http://genshi.edgewall.org/"> |
59 | | <py:choose> |
60 | | <py:when test="req.session.authenticated"> |
61 | | <form method="POST" action="${req.href.newticket()}"> |
62 | | <input type="text" name="field_summary" placeholder="My new ticket" |
63 | | id="field-summary" /> |
64 | | <input type="hidden" name="__FORM_TOKEN" value="${req.form_token}" /> |
65 | | <input type="submit" /> |
66 | | </form> |
67 | | </py:when> |
68 | | <py:otherwise> |
69 | | <b>To file a new ticket, you'll need to |
70 | | <a href="${req.href.login()}">log in</a> or |
71 | | <a href="${req.href.register()}">create an account</a> |
72 | | first.</b> |
73 | | </py:otherwise> |
74 | | </py:choose> |
75 | | </div> |
| 57 | <div xmlns:py="http://genshi.edgewall.org/"> |
| 58 | <py:choose> |
| 59 | <py:when test="req.session.authenticated"> |
| 60 | <form method="POST" action="${req.href.newticket()}"> |
| 61 | <input type="text" name="field_summary" placeholder="My new ticket" |
| 62 | id="field-summary" /> |
| 63 | <input type="hidden" name="__FORM_TOKEN" value="${req.form_token}" /> |
| 64 | <input type="submit" /> |
| 65 | </form> |
| 66 | </py:when> |
| 67 | <py:otherwise> |
| 68 | <b>To file a new ticket, you'll need to |
| 69 | <a href="${req.href.login()}">log in</a> |
| 70 | first.</b> |
| 71 | </py:otherwise> |
| 72 | </py:choose> |
| 73 | </div> |