New Sign in

fierj

Public

Tiny personal git forge

← fierj / templates / thread_new.html
{{template "head" .}}
{{define "title"}}new thread - {{.Repo}} - fierj{{end}}
{{template "repo-header" .}}
{{template "repo-tabs" .}}

<div class="thread-new-form">
    <h2>New Thread</h2>
    <form method="POST" action="/{{.Repo}}/threads/new">
        <div class="form-group">
            <label for="title">Title</label>
            <input type="text" id="title" name="title" placeholder="Brief summary" required>
        </div>
        <div class="form-group">
            <label for="body">Description</label>
            <textarea id="body" name="body" rows="8" placeholder="Detailed description (markdown supported)"></textarea>
        </div>
        <button type="submit" class="btn btn-primary">Create thread</button>
    </form>
</div>
{{template "foot" .}}