diff --git a/app/views/events/index.html.slim b/app/views/events/index.html.slim index 584588af415..a152fb2cb8a 100644 --- a/app/views/events/index.html.slim +++ b/app/views/events/index.html.slim @@ -11,6 +11,10 @@ header.page-header = link_to new_event_path, class: 'a-button is-md is-secondary is-block' do i.fa-regular.fa-plus | イベント作成 + .page-header-actions__item + = link_to new_regular_event_path, class: 'a-button is-md is-secondary is-block' do + i.fa-regular.fa-plus + | 定期イベント作成 = render 'events/tabs' diff --git a/test/system/events_test.rb b/test/system/events_test.rb index 9b01b863296..f133fd69f5a 100644 --- a/test/system/events_test.rb +++ b/test/system/events_test.rb @@ -3,11 +3,6 @@ require 'application_system_test_case' class EventsTest < ApplicationSystemTestCase - test 'show link to create new event' do - visit_with_auth events_path, 'komagata' - assert_link 'イベント作成' - end - test 'users except admin cannot publish a event' do visit_with_auth new_event_path, 'kimura' page.assert_no_selector("input[value='作成']")