
juraj.michalek at gmail
Sep 25, 2009, 11:58 PM
Post #1 of 1
(240 views)
Permalink
|
Hello. I'm working on macro, which should be expanded as HTML form and it should invoke my specific action. This macro should be added into ticket comments. There will be html drop down and button. Current implementation of ticket.html encapsulates ticket comment in 'form' tag. This makes impossible to add my own form via macro. Actual implementation example: <form method="get" action="#comment" class="printableform"> <div class="change"> <h3 class="change" id="comment:5"> Changed .... ago by georgik </h3> <div class="inlinebuttons"> <input type="hidden" name="replyto" value="5" /> <input type="submit" value="Reply" title="Reply to comment 5" /> </div> <ul class="changes"> <li> <strong>status</strong> changed from <em>assigned_requirement</em> to <em>official_proposal</em> </li> </ul> <div class="comment searchable"> <p> dsfasfa<br /> </p> </form> In my opinion whole stuff should be encapsulated by 'div' instead of 'form'. And 'form' iself should be located before div class="comment searchable". Is there any reason for encapsulating whole content by 'form'? Or other solution: How to create macro that is expanded after actual form? Have a nice day Juraj --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-users [at] googlegroups To unsubscribe from this group, send email to trac-users+unsubscribe [at] googlegroups For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
|