32 lines
995 B
Plaintext
32 lines
995 B
Plaintext
- title t('.title')
|
|
|
|
- content_for :submenu do
|
|
= render 'admin/shared/menu/settings'
|
|
|
|
%p!= t('.help')
|
|
|
|
= form_tag admin_import_url, :multipart => true, :class => 'formtastic import' do
|
|
|
|
%fieldset.inputs
|
|
%legend
|
|
%span= t('formtastic.titles.upload')
|
|
%ol
|
|
%li{ :class => "file #{'error' if @error} required" }
|
|
= label_tag 'zipfile', t('formtastic.labels.import.new.source')
|
|
= file_field_tag 'zipfile'
|
|
- if @error
|
|
%p.inline-errors= @error
|
|
%p.inline-hints= t('formtastic.hints.import.source')
|
|
|
|
%li.input.toggle
|
|
= label_tag 'samples', t('formtastic.labels.import.new.samples')
|
|
= check_box_tag 'samples'
|
|
%p.inline-hints= t('formtastic.hints.import.samples')
|
|
|
|
%li.input.toggle
|
|
= label_tag 'reset', t('formtastic.labels.import.new.reset')
|
|
= check_box_tag 'reset'
|
|
%p.inline-hints= t('formtastic.hints.import.reset')
|
|
|
|
|
|
= render 'admin/shared/form_actions', :button_label => :send |