| 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | @include '../layout/head.html' |
| 5 | </head> |
| 6 | <body> |
| 7 | @include '../layout/header.html' |
| 8 | |
| 9 | <div class="content"> |
| 10 | @include '../layout/repo_menu.html' |
| 11 | |
| 12 | <h1>New issue</h1> |
| 13 | |
| 14 | <form method='post' class="form" action='/@repo.user_name/@repo.name/issues'> |
| 15 | <div class="field"> |
| 16 | <input type='text' autofocus name='title' placeholder='Title' required> |
| 17 | </div> |
| 18 | <div class="field"> |
| 19 | <textarea name='text' placeholder='Leave a comment' required></textarea> |
| 20 | </div> |
| 21 | <div class="field"> |
| 22 | <input type='submit' value='Submit new issue'> |
| 23 | </div> |
| 24 | </form> |
| 25 | </div> |
| 26 | |
| 27 | @js '/js/block-form.js' |
| 28 | @include '../layout/footer.html' |
| 29 | </body> |
| 30 | </html> |
| 31 | |