Skip to content

Commit 2b55103

Browse files
committed
Reintroduice new habilitation button
Thanks to fa62b8e we can safely readd this button and allow people to request new habilitations
1 parent 1d30daf commit 2b55103

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/views/layouts/dashboard.html.erb

+2-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@
99
<% if current_user.instructor? %>
1010
<%= link_to t('.instruction_cta'), instruction_path, class: %w(fr-btn fr-btn--secondary fr-icon-file-add-fill fr-btn--icon-left) %>
1111
<% end %>
12-
<% unless Rails.env.production? %>
13-
<%= link_to 'Nouvelle habilitation', authorization_requests_path, class: %w(fr-btn fr-btn--secondary fr-icon-add-line fr-btn--icon-left) %>
14-
<% end %>
12+
13+
<%= link_to 'Nouvelle habilitation', authorization_requests_path, class: %w(fr-btn fr-btn--secondary fr-icon-add-line fr-btn--icon-left) %>
1514
</div>
1615
</div>
1716

0 commit comments

Comments
 (0)