reply.tpl (819B)
1 {{template "header.tpl" $}} 2 <table id="edit"> 3 {{ with index .Msg 0 }} 4 <form method="post" enctype="application/x-www-form-urlencoded" action="{{$.PfxPath}}/{{.Echo}}/new"> 5 <tr><td class="odd"> 6 <input type="text" name="to" class="to" placeholder="{{.To}}" value="{{.To}}"><br> 7 <input type="text" name="subj" class="subj" placeholder="{{.Subj}}" value="{{.Subj}}"><br> 8 <input type="hidden" name="repto" value="{{.|repto}}"> 9 <textarea type="text" name="msg" class="message" cols=60 row=16 placeholder="Enter text here.">{{.Text}}</textarea> 10 </td></tr> 11 12 <tr><td class="odd center"> 13 <button class="form-button" type="submit" name="action" value="Submit">Submit</button> 14 <button class="form-button" type="submit" name="action" value="Preview">Preview</button> 15 </td></tr> 16 </form> 17 {{ end }} 18 19 </table> 20 {{template "footer.tpl"}}