Skip to content
Snippets Groups Projects
Commit 159d8452 authored by Fabrice Gangler's avatar Fabrice Gangler :art:
Browse files

feat(organization): add create and update btn

parent 2238e8e6
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,16 @@
<h1>{{ app_name }}</h1>
<nav>
<div class="alert alert-dark">
<a class="btn btn-primary" id="user_create-organization_link" href="{{ path('app_connected_user_add_organization') }}">
{{ 'user.organizations.create_organization'|trans }}
</a>
</div>
<nav class="alert alert-dark">
<ul>
<li>
<a href="{{ path('app_anonymous_organization_display_all_organization') }}">
......
{% extends 'app_base.html.twig' %}
{% block title %} {{ 'organization.display.head.title'|trans({
'%organization%': organization.name,
'%app_name%': app_name,
}) }}{% endblock %}
{% block title %} {{ organization.name }} - {{ app_name }}{% endblock %}
{% block body %}
<nav aria-label="breadcrumb">
......@@ -33,6 +30,14 @@
{{ organization.name }}
</h1>
<div class="alert alert-dark">
<a class="btn btn-primary" id="user_create-organization_link"
href="{{ path(
'app_connected_user_update_organization',
{'id': organization.id, 'slug': organization.slug,}
) }}">{{ 'user.organizations.update_organization'|trans }}</a>
</div>
<!--
{# {% cspstyle %}#}
<style>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment