2012-08-13 15:58:54 +08:00
|
|
|
{% load url from future %}
|
|
|
|
<form action="{% url 'group_recommend' %}" method="post" id="recommend-form" class="hide">{% csrf_token %}
|
2012-08-13 15:14:49 +08:00
|
|
|
<h3>推荐
|
2012-08-13 15:58:54 +08:00
|
|
|
{% for name, link in zipped %}
|
2012-08-15 14:16:15 +08:00
|
|
|
{% if forloop.last %}
|
2012-08-13 15:58:54 +08:00
|
|
|
{{ name }}
|
|
|
|
{% endif %}
|
2012-08-15 14:16:15 +08:00
|
|
|
{% endfor %}
|
2012-09-24 10:10:01 +08:00
|
|
|
到群组
|
2012-08-13 15:14:49 +08:00
|
|
|
</h3>
|
2012-09-24 10:10:01 +08:00
|
|
|
<label>群组名称:</label><br />
|
2012-08-15 14:16:15 +08:00
|
|
|
<input type="input" name="groups" id="recommend-groups" value="" /><br />
|
2012-08-13 15:14:49 +08:00
|
|
|
<label>推荐语:</label><br />
|
2012-08-13 15:58:54 +08:00
|
|
|
<textarea name="message" id="recommend-msg"></textarea><br />
|
|
|
|
<input type="hidden" name="repo_id" value="{{ repo.id }}" />
|
|
|
|
<input type="hidden" name="path" value="{{ path }}" />
|
|
|
|
<input type="hidden" name="attach_type" value="{{ attach_type }}" />
|
2012-08-13 21:43:34 +08:00
|
|
|
<p class="error hide"></p>
|
|
|
|
<input type="submit" id="recommend-submit" class="submit" value="提交" />
|
2012-08-13 15:58:54 +08:00
|
|
|
<button class="simplemodal-close">取消</button>
|
|
|
|
</form>
|