mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-18 16:36:15 +00:00
26 lines
1.1 KiB
HTML
26 lines
1.1 KiB
HTML
{% load url from future %}
|
|
<form action="{% url 'group_recommend' %}" method="post" id="recommend-form" class="hide">{% csrf_token %}
|
|
<h3>推荐
|
|
{% for name, link in zipped %}
|
|
{% if forloop.last %}
|
|
{{ name }}
|
|
{% endif %}
|
|
{% endfor %}
|
|
到群组:
|
|
</h3>
|
|
<div>
|
|
{% for group in groups %}
|
|
<input type="checkbox" name="groups" value="{{ group.id }}" {% if forloop.first and forloop.last %} checked {% endif %}>{{ group.group_name }}<br>
|
|
{% endfor %}
|
|
</div>
|
|
|
|
<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 }}" />
|
|
<input type="hidden" name="attach_type" value="{{ attach_type }}" />
|
|
<p class="error hide"></p>
|
|
<input type="submit" id="recommend-submit" class="submit" value="提交" />
|
|
<button class="simplemodal-close">取消</button>
|
|
</form>
|