mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-02 07:47:32 +00:00
29 lines
1.3 KiB
HTML
29 lines
1.3 KiB
HTML
{% load url from future %}
|
|
<form action="{% url 'group_recommend' %}" method="post" id="recommend-to-group-form" class="hide">{% csrf_token %}
|
|
<h3>推荐
|
|
{% for name, link in zipped %}
|
|
{% if forloop.last %}
|
|
<span class="op-target">{{ name }}</span>
|
|
{% endif %}
|
|
{% endfor %}
|
|
到群组:
|
|
</h3>
|
|
<div class="groups">
|
|
{% for group in groups %}
|
|
<input type="checkbox" name="groups" value="{{ group.id }}" id="{{ group.id }}" {% if forloop.first and forloop.last %}checked="checked"{% endif %} class="group-checkbox"><label for="{{ group.id }}" class="group-name">{{ group.group_name }}</label>
|
|
{% endfor %}
|
|
</div>
|
|
<label>推荐语:</label>
|
|
<textarea name="message"></textarea>
|
|
<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="提交" />
|
|
</form>
|
|
<div id="recommend-to-group-caret" class="hide">
|
|
<div class="outer-caret">
|
|
<div class="inner-caret"></div>
|
|
</div>
|
|
</div>
|