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