summaryrefslogtreecommitdiff
path: root/horizon/horizon/dashboards/syspanel/templates/syspanel/tenants/_add_user.html
diff options
context:
space:
mode:
Diffstat (limited to 'horizon/horizon/dashboards/syspanel/templates/syspanel/tenants/_add_user.html')
-rw-r--r--horizon/horizon/dashboards/syspanel/templates/syspanel/tenants/_add_user.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/horizon/horizon/dashboards/syspanel/templates/syspanel/tenants/_add_user.html b/horizon/horizon/dashboards/syspanel/templates/syspanel/tenants/_add_user.html
new file mode 100644
index 00000000..a326e825
--- /dev/null
+++ b/horizon/horizon/dashboards/syspanel/templates/syspanel/tenants/_add_user.html
@@ -0,0 +1,10 @@
+{%load i18n%}
+<form id="form_add_tenant_user{{user}}" method="post">
+ {% csrf_token %}
+ {% for hidden in form.hidden_fields %}
+ {{hidden}}
+ {% endfor %}
+ <input name="user" type="hidden" value="{{user.id}}" />
+ <input name="tenant" type="hidden" value="{{tenant_id}}" />
+ <input id="add_tenant_user_{{user.id}}" class="add" title="User: {{user.id}}" type="submit" value="{% trans "Add"%}" />
+</form>