new.html.haml 973 Bytes
Newer Older
Jared Szechy's avatar
Jared Szechy committed
1
- page_title "FogBugz Import"
Douwe Maan's avatar
Douwe Maan committed
2
- header_title "Projects", root_path
Jared Szechy's avatar
Jared Szechy committed
3 4 5 6 7 8 9 10 11 12 13
%h3.page-title
  %i.fa.fa-bug
  Import projects from FogBugz
%hr

= form_tag callback_import_fogbugz_path, class: 'form-horizontal' do
  %p
    To get started you enter your FogBugz URL and login information below.
    In the next steps, you'll be able to map users and select the projects
    you want to import.
  .form-group
14
    = label_tag :uri, 'FogBugz URL', class: 'col-form-label'
Jared Szechy's avatar
Jared Szechy committed
15 16 17
    .col-sm-4
      = text_field_tag :uri, nil, placeholder: 'https://mycompany.fogbugz.com', class: 'form-control'
  .form-group
18
    = label_tag :email, 'FogBugz Email', class: 'col-form-label'
Jared Szechy's avatar
Jared Szechy committed
19 20 21
    .col-sm-4
      = text_field_tag :email, nil, class: 'form-control'
  .form-group
22
    = label_tag :password, 'FogBugz Password', class: 'col-form-label'
Jared Szechy's avatar
Jared Szechy committed
23 24 25 26
    .col-sm-4
      = password_field_tag :password, nil, class: 'form-control'
  .form-actions
    = submit_tag 'Continue to the next step', class: 'btn btn-create'