-
-
Save BitPuffin/6b3d6f1f66e8c8ae5074 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! stdtmpl | standard | |
| #proc htmlNewArticle(): string = | |
| # result = "" | |
| <header> | |
| <h1>New Article!</h1> | |
| </header> | |
| <br/> | |
| <form action="/articles/new" method="post"> | |
| <div> | |
| <label for="title">Title</label> | |
| <input type="text" id="title"/> | |
| </div> | |
| <div> | |
| <label for="content">Content</label> | |
| <textarea id="content"></textarea> | |
| </div> | |
| <div> | |
| <button type="submit">Post!</button> | |
| </div> | |
| </form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment