openidec

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

new.tpl (925B)


      1 {{template "header.tpl" $}}
      2 <table id="edit">
      3 {{ if eq .Echo "" }}
      4 <form method="post" enctype="application/x-www-form-urlencoded" action="{{.PfxPath}}/new">
      5 {{ else }}
      6 <form method="post" enctype="application/x-www-form-urlencoded" action="{{.PfxPath}}/{{.Echo}}/new">
      7 {{ end }}
      8 <tr><td class="odd">
      9 {{ if eq .Echo "" }}
     10 <input type="text" name="echo" class="echo" placeholder="echo" value=""><br>
     11 {{ end }}
     12 <input type="text" name="to" class="to" placeholder="To" value="All"><br>
     13 <input type="text" name="subj" class="subj" placeholder="Subject"><br>
     14 <textarea type="text" name="msg" class="message" cols=60 row=16 placeholder="Hi, All!">
     15 </textarea>
     16 </td></tr>
     17 
     18 <tr><td class="odd center">
     19 <button class="form-button" type="submit" name="action" value="Submit">Submit</button>
     20 <button class="form-button" type="submit" name="action" value="Preview">Preview</button>
     21 </td></tr>
     22 </form>
     23 
     24 </table>
     25 {{template "footer.tpl"}}