1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-07-02 09:53:17 +00:00
seahub/templates/snippets/group_recommend_form.html

22 lines
971 B
HTML
Raw Normal View History

2012-08-13 07:58:54 +00:00
{% load url from future %}
<form action="{% url 'group_recommend' %}" method="post" id="recommend-form" class="hide">{% csrf_token %}
2012-08-13 07:14:49 +00:00
<h3>推荐
2012-08-13 07:58:54 +00:00
{% for name, link in zipped %}
2012-08-15 06:16:15 +00:00
{% if forloop.last %}
2012-08-13 07:58:54 +00:00
{{ name }}
{% endif %}
2012-08-15 06:16:15 +00:00
{% endfor %}
到小组
2012-08-13 07:14:49 +00:00
</h3>
<label>小组名称:</label><br />
2012-08-15 06:16:15 +00:00
<input type="input" name="groups" id="recommend-groups" value="" /><br />
2012-08-13 07:14:49 +00:00
<label>推荐语:</label><br />
2012-08-13 07:58:54 +00: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 13:43:34 +00:00
<p class="error hide"></p>
<input type="submit" id="recommend-submit" class="submit" value="提交" />
2012-08-13 07:58:54 +00:00
<button class="simplemodal-close">取消</button>
</form>