fedibird-fe/app/views/admin/push_subscription_blocks/new.html.haml

17 lines
549 B
Text
Raw Normal View History

2022-12-18 05:34:18 +00:00
- content_for :page_title do
= t('admin.push_subscription_blocks.add_new')
= simple_form_for @push_subscription_block, url: admin_push_subscription_blocks_path do |f|
= render 'shared/error_messages', object: @push_subscription_block
%p.hint= t('admin.push_subscription_blocks.enable_hint')
.field-group
= f.input :name, as: :string, wrapper: :with_block_label
.field-group
= f.input :endpoint, as: :string, wrapper: :with_block_label
.actions
= f.button :button, t('admin.push_subscription_blocks.save'), type: :submit