Commit 5cd8afbb authored by BERJON Matthieu's avatar BERJON Matthieu
Browse files

Fixing the template page title

As noticed by @abaire

, the title wasn't updating accordingly to the
endpoint type. This is now fixed.
Signed-off-by: BERJON Matthieu's avatarMatthieu Berjon <matthieu.berjon@inria.fr>
parent 8886167a
{% extends "base.html" %}
{% load htmlattrs converters %}
{% block title %}Create a webapp{% endblock %}
{% block title %}
{% url 'main:webapp_creation' as webapp_url %}
{% if request.get_full_path == webapp_url %}
Create a webapp
{% else %}
Update webapp
{% endif %}
{% endblock %}
{% block breadcrumb %}
<li class="breadcrumb-item"><a href="{% url 'main:webapp_list' %}">Applications</a></li>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment