Разграничение прав на использование разделов
This commit is contained in:
@@ -12,9 +12,7 @@
|
||||
<h1>Выберите вариант запроса</h1>
|
||||
<nav class="menu">
|
||||
{% for point in options %}
|
||||
{% if current_role in point['roles'] %}
|
||||
<a href="{{ url_for(point['url']) }}"><button>{{ point['name'] }}</button></a>
|
||||
{% endif %}
|
||||
<a href="{{ url_for(point['url']) }}"><button>{{ point['name'] }}</button></a>
|
||||
{% endfor %}
|
||||
</nav>
|
||||
<div class="return">
|
||||
|
||||
Reference in New Issue
Block a user