/edit.html
https://code.google.com/p/wheresthatfile/ · HTML · 11 lines · 10 code · 1 blank · 0 comment · 0 complexity · 0ef200524d83e5decd1c223fcce34245 MD5 · raw file
- <h1>WTF: {{.Title |html}}</h1>
- <h2>WTF: {{.Count |html}}</h2>
- <form action="/save/{{.Title |html}}" method="POST">
- <input name="file" placeholder="file to find" required />
- </form>
- <body>
- <p>
- {{range .Files }} {{print "<a href=\"file://" . "\">" . "</a><br>"}}{{end}}
- </p>
- </body>