Skip to content

Commit

Permalink
休会チェックボックスのデザイン
Browse files Browse the repository at this point in the history
  • Loading branch information
machida committed Sep 21, 2022
1 parent 4761d12 commit 8e80a98
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
max-width: 20rem
.block-checks.is-1-item &
max-width: 100%
.block-checks.is-1-item.is-centered &
width: 20rem
.block-checks.is-2-items &
flex: 0 0 calc((100% - .5rem) / 2)
max-width: calc((100% - .5rem) / 2)
Expand Down
22 changes: 11 additions & 11 deletions app/views/hibernation/new.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,6 @@ header.page-header
html: { name: 'hibernation' },
class: 'form' do |f|
.form__items
//
休会についての注意を実装したら表示する
.form-item
label.a-form-label.is-required
| 休会についての注意を読みましたか?
.block-checks.is-2-items
.block-checks__item
.a-block-check.is-checkbox
input.a-toggle-checkbox#aaa(type='checkbox')
label.a-block-check__label(for='aaa')
| 読みました
.form-item
= f.label :scheduled_return_on,
class: 'a-form-label is-required'
Expand Down Expand Up @@ -79,6 +68,17 @@ header.page-header
| こちら
| のページの「分報 URL」欄に分報チャンネルの URL を登録してください。


.form-item
label.a-form-label.is-required
| 休会についての注意を読みましたか?
.block-checks.is-1-item.is-centered
.block-checks__item
.a-block-check.is-checkbox
input.a-toggle-checkbox#aaa(type='checkbox')
label.a-block-check__label(for='aaa')
| 読みました

.form-actions
ul.form-actions__items
li.form-actions__item.is-main
Expand Down

0 comments on commit 8e80a98

Please sign in to comment.