Skip to content

Commit

Permalink
employ i18n key
Browse files Browse the repository at this point in the history
  • Loading branch information
fwolfst committed Oct 9, 2020
1 parent b09a0ea commit 54cc16c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/views/admin/blog/posts/edit.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@

%br

= link_to t('Back'), admin_blog_posts_path, class: 'button is-small is-danger'
= link_to t('actions.Back'), admin_blog_posts_path, class: 'button is-small is-danger'
2 changes: 1 addition & 1 deletion app/views/admin/blog/posts/new.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@

= render 'form'

= link_to t('Back'), admin_places_path
= link_to t('actions.Back'), admin_places_path
2 changes: 1 addition & 1 deletion app/views/admin/user/subscriptions/edit.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@

= render 'form'

= link_to t('Back'), admin_user_path(@subscription.user)
= link_to t('actions.Back'), admin_user_path(@subscription.user)
4 changes: 3 additions & 1 deletion app/views/admin/user/subscriptions/new.html.haml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
-# spdx
%h1.title
= t('admin.user.subscriptions.new-title')

= render 'form'

= link_to t('Back'), admin_user_path(@subscription.user)
= link_to t('actions.Back'), admin_user_path(@subscription.user)
2 changes: 1 addition & 1 deletion app/views/courses/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@

%hr

= link_to t('Back'), :back, class: 'button is-link'
= link_to t('actions.Back'), :back, class: 'button is-link'

0 comments on commit 54cc16c

Please sign in to comment.