settings.gohtml 478 B

123456789101112131415
  1. {{ define "settings" }}
  2. <!DOCTYPE html>
  3. <html lang="en">
  4. <head>
  5. <meta charset="UTF-8">
  6. <title id="page-title">HTMX | Partial</title>
  7. </head>
  8. <body>
  9. <form>
  10. <label for="text1" title="Title for text1" content="Content" about="About" />
  11. <input type="text" id="text1" name="text1" placeholder="some setting value" value="{{ .text1 }}" />
  12. <button id="button1" name="button1" value="A button">Button text</button>
  13. </form>
  14. </body>
  15. {{ end }}