Child: [ddf08c] (diff)

Download this file

fork.html    34 lines (30 with data), 1.2 kB

 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
29
30
31
32
33
{% extends 'allura:templates/repo/repo_master.html' %}
{% block title %}{{c.project.name}} / {{c.app.config.options.mount_label}} / Fork {{from_repo.name}}{% endblock %}
{% block header %}Fork {{from_repo.name}}{% endblock %}
{% block content %}
<form action="." method="POST">
{% if c.user != c.user.anonymous() %}
<label class="grid-4">Project:</label>
<div class="grid-15">
<select name="project_id">
<option value="{{user_project._id}}" selected="selected">{{user_project.name}}</option>
{% for p in c.user.my_projects() %}
<option value="{{p._id}}">{{p.name}}</option>
{% endfor %}
</select>
</div>
<label class="grid-4">Label:</label>
<div class="grid-15">
<input type="text" name="mount_label" value="{{mount_label}}"/>
</div>
<label class="grid-4">Mount point:</label>
<div class="grid-15">
<input type="text" name="mount_point" value="{{mount_point}}"/>
</div>
<label class="grid-4">&nbsp;</label>
<div class="grid-15">
<input type="submit" value="Fork"/>
</div>
{% endif %}
</form>
{% endblock %}