1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-31 22:54:11 +00:00

modified recommend

This commit is contained in:
llj
2012-08-13 15:14:49 +08:00
parent 16c71fdfd8
commit e89f2ff67a
3 changed files with 11 additions and 14 deletions

View File

@@ -1,15 +1,17 @@
{% load url from future %}
<form action="{% url 'group_recommend' %}" method="post" id="recommend-form" class="hide">{% csrf_token %}
<p>推荐
<h3>推荐
{% for name, link in zipped %}
{% if not forloop.last %}
{{ name }} /
{% else %}
{{ name }}
{% endif %}
{% endfor %} 到小组:
</p>
<input type="input" name="groups" id="groups" value="" />
{% endfor %} 到小组
</h3>
<label>小组名称:</label><br />
<input type="input" name="groups" id="groups" value="" /><br />
<label>推荐语:</label><br />
<textarea name="message" id="recommend-msg"></textarea><br />
<input type="hidden" name="repo_id" value="{{ repo.id }}" />
<input type="hidden" name="path" value="{{ path }}" />