diff --git a/app/views/application/_shepherd.html.erb b/app/views/application/_shepherd.html.erb index d52538e..9201acd 100644 --- a/app/views/application/_shepherd.html.erb +++ b/app/views/application/_shepherd.html.erb @@ -47,6 +47,9 @@ <% end %> buttons: [ <% if index == steps.size - 1 %> + <% if steps.size > 1 %> + { text: '<%= t('walter.back') %>', action: Walter.tours["<%= tour_name %>"].back, classes: 'shepherd-button-secondary' }, + <% end %> { text: '<%= t('walter.done') %>', action: Walter.tours["<%= tour_name %>"].complete }, <% else %> <% if index == 0 %>