user_ssh_add.html 912 Bytes
Newer Older
BERJON Matthieu's avatar
BERJON Matthieu committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{% extends "base.html" %}
{% load htmlattrs %}

{% block title %}Security: SSH key{% endblock %}

{% block breadcrumb %}
<li class="breadcrumb-item"><a href="{% url 'main:user_detail' %}">Profile</a></li>
<li class="breadcrumb-item active" aria-current="page">Add SSH key</li>
{% endblock %}

{% block content %}
<div class="container">
  <div class="allgo-page">
        <form method="post">
          {% csrf_token %}

          <div class="form-group">
          {{ form.sshkey.label_tag }}
19
          <small class="form-text text-muted">{{ form.sshkey.help_text }}</small>
BERJON Matthieu's avatar
BERJON Matthieu committed
20
21
22
23
24
25
26
27
28
29
30
31
32
33
          {{ form.sshkey | attr:"placeholder:Example ssh-rsa ...." | add_class:"form-control" }}
          </div>

          <input type="submit" class="btn btn-primary" value="Update" />

        </form>
  </div>
</div>
{% endblock %}

{% block messages %}
{{ block.super }}
{% include 'partials/_form_messages.html' %}
{% endblock %}