mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-01 23:38:37 +00:00
30 lines
1.4 KiB
HTML
30 lines
1.4 KiB
HTML
{% load i18n %}
|
|
{% load url from future %}
|
|
<form action="{% url 'group_recommend' %}" method="post" id="recommend-to-group-form" class="hide">{% csrf_token %}
|
|
<h3>{% trans "Recommend" %}
|
|
{% for name, link in zipped %}
|
|
{% if forloop.last %}
|
|
<span class="op-target">{{ name }}</span>
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% trans "to group:"%}
|
|
</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>{% trans "Recommend Message"%}</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="{% trans "Submit"%}" />
|
|
</form>
|
|
<div id="recommend-to-group-caret" class="hide">
|
|
<div class="outer-caret">
|
|
<div class="inner-caret"></div>
|
|
</div>
|
|
</div>
|