mastodon-glitch/app/views/admin/export_domain_allows/new.html.haml

14 lines
446 B
Plaintext

- content_for :page_title do
= t('.title')
= simple_form_for @import, url: import_admin_export_domain_allows_path, html: { multipart: true } do |f|
.fields-row
.fields-group.fields-row__column.fields-row__column-6
= f.input :data,
as: :file,
hint: t('simple_form.hints.imports.data'),
wrapper: :with_block_label
.actions
= f.button :button, t('imports.upload'), type: :submit