blob: f00ef2dad78f07fa439472bf93da4ebb6c8726af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
<form method="post" action="fork-remote" enctype="multipart/form-data" class="well form-inline form-horizontal">
<input type="hidden" name="orig_url" value="{{remote_url}}" />
<div class="control-group">
<p>
The URL you provided contains links to several Git repositories.
Select one of them.
</p>
<select size="{{urlselsize}}" name="remote_url" id="sel-remote_url" style="width:100%">
{% for grouptitle, groupurls in urls %}
{% if groupurls|length == 1 %}
<option value="{{groupurls.0}}">{{grouptitle}}</option>
{% else %}
<optgroup label="{{grouptitle}}">
{% for url in groupurls %}
<option value="{{url}}">{{url}}</option>
{% endfor %}
</optgroup>
{% endif %}
{% endfor %}
</select>
</div>
<div style="text-align: right">
<button type="submit" class="btn btn-primary">
<i class="icon-share icon-white"></i> Fork
</button>
</div>
</form>
|