layout and language changer
This commit is contained in:
@@ -68,7 +68,9 @@ html lang="en"
|
||||
= link_to image_tag('icons/logo-small.png', alt: application_title), user_root_path, class: :brand
|
||||
.container.nav-collapse
|
||||
ul.nav#top-navigation-list
|
||||
li= link_to 'View history', user_list_history_path
|
||||
li.locale.locale-en= link_to_function 'English', %|setLocale('en')|
|
||||
li.locale.locale-nl= link_to_function 'Nederlands', %|setLocale('nl')|
|
||||
li= link_to t('user.list_history.title'), user_list_history_path, data: {t: 'list_history.title'}
|
||||
.container
|
||||
.content
|
||||
.alert.alert-error.hide
|
||||
|
||||
Reference in New Issue
Block a user