{% extends "base.html" %} {% load static %} {% load i18n %} {% block head %} {{block.super}} {% endblock %} {% block title %} {% if name %} {% blocktrans with name=name %}Edit share {{name}}{% endblocktrans %} {% else %} {% trans "Create new share" %} {% endif %} {% endblock %} {% block context_navbar %} {% with shares=shares %} {% include "samba/navbar.html" %} {% endwith %} {% endblock %} {% block content %}