-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcreateRepo.gohtml
More file actions
23 lines (22 loc) · 1.02 KB
/
createRepo.gohtml
File metadata and controls
23 lines (22 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{{ template "head" $ }}
{{ if $.Error }}
<p style="color: #FF0000">Error: {{ $.Error }}</p>
{{ end }}
<form method="post" action="/edit">
<input type="hidden" name="task" value="Save" />
<input type="hidden" name="text" value="{{ $.Text }}" />
<input type="hidden" name="branch" value="{{ $.Branch }}" />
<input type="hidden" name="ref" value="{{ $.Ref }}" />
<input type="hidden" name="sha" value="{{ $.Sha }}" />
<input type="hidden" name="createRepo" value="1" />
<input type="submit" value="Create Repo and Retry" />
</form>
<form method="post" action="/edit">
<input type="hidden" name="task" value="Save" />
<input type="hidden" name="text" value="{{ $.Text }}" />
<input type="hidden" name="branch" value="{{ $.Branch }}" />
<input type="hidden" name="ref" value="{{ $.Ref }}" />
<input type="hidden" name="sha" value="{{ $.Sha }}" />
<input type="submit" value="Retry" />
</form>
{{ template "tail" $ }}