Skip to content

Commit a8685c3

Browse files
committed
Add missing back link for no groups
1 parent b53ebf8 commit a8685c3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/views/group_forms/edit.html.erb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@
6969

7070
<% if @group_select.groups.size > 0 %>
7171
<%= f.govuk_submit %>
72+
<% else %>
73+
<p><%= link_to t('back_link.group', group_name: @group.name), group_path(@group) %></p>
7274
<% end %>
7375

7476
<% end %>

0 commit comments

Comments
 (0)