oficina / equipo Public

Clone
git clone https://amadan.net/oficina/equipo

Plain git — no account needed to clone.

Download

Download this file

1{{define "content"}}<h1>{{copy "task.answer"}}</h1>{{if not .Question.Fields}}<pre>{{.Question.Text}}</pre>{{end}}<form equipo-form method="post" action="/tasks/{{.TaskView.Task.ID}}/questions/{{.Question.ID}}/answer">
2<input type="hidden" name="revision" value="{{.Question.Revision}}">
3{{range $i,$field:=.Question.Fields}}<label>{{$field.Prompt}}<textarea rst-input name="answer_{{$i}}" rows="4" maxlength="8192"></textarea></label>{{end}}
4{{if .Question.Fields}}<button rst-btn="primary" type="submit" name="behavior" value="allow">{{copy "question.send_answer"}}</button>{{else if .Question.CanAllow}}<button rst-btn="primary" type="submit" name="behavior" value="allow">{{copy "question.allow_once"}}</button>{{end}}<button rst-btn type="submit" name="behavior" value="deny">{{copy "question.deny"}}</button></form>{{end}}
5