1
0
Fork 0

Add account nav tabs

This commit is contained in:
Alex Kotov 2019-04-27 14:20:00 +05:00
parent 9412e28b8e
commit ad92ea1d3f
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
4 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,7 @@
<div class="mb-3">
<%= nav_tabs(
:account,
tab,
overview: account,
) %>
</div>

View File

@ -43,6 +43,8 @@
</div>
<div class="col-md-9">
<%= render partial: 'nav_tabs', locals: { account: @account,
tab: :overview } %>
</div>
</div>
</div>

View File

@ -1,5 +1,7 @@
en:
nav_tabs:
account:
overview: Overview
passport:
overview: Overview
confirmations: Confirmations

View File

@ -1,5 +1,7 @@
ru:
nav_tabs:
account:
overview: Обзор
passport:
overview: Обзор
confirmations: Подтверждения