Skip to content

Commit

Permalink
メンターのカテゴリー画面のカテゴリー作成ボタンの移動
Browse files Browse the repository at this point in the history
  • Loading branch information
rira100000000 committed Jul 15, 2023
1 parent 00b1261 commit 0b8933b
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions app/views/mentor/categories/index.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,21 @@ header.page-header
.container
.page-header__inner
h1.page-header__title = title
.page-header-actions
- if current_user.mentor?
.page-header-actions__items
.page-header-actions__item
= link_to new_mentor_category_path, class: 'a-button is-md is-secondary is-block' do
i.fa-regular.fa-plus
| カテゴリー作成

= render 'mentor/mentor_page_tabs'

.page-body
.container.is-lg
= react_component 'Categories'
main.page-main
header.page-main-header
.container
.page-main-header__inner
.page-main-header__start
.page-main-header__end
.page-header-actions
.page-header-actions__items
.page-header-actions__item
- if current_user.mentor?
= link_to new_mentor_category_path, class: 'a-button is-md is-secondary is-block' do
i.fa-regular.fa-plus
| カテゴリー作成
.page-body
.container.is-lg
= react_component 'Categories'

0 comments on commit 0b8933b

Please sign in to comment.