new.html.haml 986 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
%h3.page-title
  %i.fa.fa-bug
  Import projects from FogBugz
%hr

8
= form_tag callback_import_fogbugz_path do
Jared Szechy's avatar
Jared Szechy committed
9 10 11 12
  %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.
13
  .form-group.row
14
    = label_tag :uri, 'FogBugz URL', class: 'col-form-label col-sm-8'
Jared Szechy's avatar
Jared Szechy committed
15 16
    .col-sm-4
      = text_field_tag :uri, nil, placeholder: 'https://mycompany.fogbugz.com', class: 'form-control'
17
  .form-group.row
18
    = label_tag :email, 'FogBugz Email', class: 'col-form-label col-sm-8'
Jared Szechy's avatar
Jared Szechy committed
19 20
    .col-sm-4
      = text_field_tag :email, nil, class: 'form-control'
21
  .form-group.row
22
    = label_tag :password, 'FogBugz Password', class: 'col-form-label col-sm-8'
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'