1
0
Fork 0
forked from gitea/nas

Use local vars in partials (#1935)

* Use local vars in accounts/header partial

* Use local variable in 2fa recovery codes partial
This commit is contained in:
Matt Jankowski 2017-04-16 10:37:49 -04:00 committed by Eugen
parent 90760eae4c
commit 7efde22c3a
7 changed files with 26 additions and 26 deletions

View file

@ -1,4 +1,4 @@
- content_for :page_title do
= t('settings.two_factor_auth')
= render 'recovery_codes'
= render partial: 'recovery_codes', object: @codes