Add basic view
This commit is contained in:
parent
ed35b805a0
commit
209f81b0c5
4 changed files with 17 additions and 0 deletions
|
@ -3,4 +3,9 @@
|
||||||
edit_user_registration_path,
|
edit_user_registration_path,
|
||||||
class: 'list-group-item list-group-item-action ' \
|
class: 'list-group-item list-group-item-action ' \
|
||||||
"#{:active if tab == :credentials}" %>
|
"#{:active if tab == :credentials}" %>
|
||||||
|
|
||||||
|
<%= link_to translate(:telegram_contacts, scope: %i[nav_tabs settings]),
|
||||||
|
settings_telegram_contacts_path,
|
||||||
|
class: 'list-group-item list-group-item-action '\
|
||||||
|
"#{:active if tab == :telegram_contacts}" %>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-3 mb-4">
|
||||||
|
<%= render partial: 'settings/nav_sidebar', locals: { tab: :telegram_contacts } %>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-9">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -5,3 +5,4 @@ en:
|
||||||
confirmations: Confirmations
|
confirmations: Confirmations
|
||||||
settings:
|
settings:
|
||||||
credentials: Credentials
|
credentials: Credentials
|
||||||
|
telegram_contacts: Telegram contacts
|
||||||
|
|
|
@ -5,3 +5,4 @@ ru:
|
||||||
confirmations: Подтверждения
|
confirmations: Подтверждения
|
||||||
settings:
|
settings:
|
||||||
credentials: Данные для входа
|
credentials: Данные для входа
|
||||||
|
telegram_contacts: Контакты Telegram
|
||||||
|
|
Reference in a new issue