new.html.haml 1010 Bytes
Newer Older
1 2
- page_title _("FogBugz Import")
- header_title _("Projects"), root_path
Jared Szechy's avatar
Jared Szechy committed
3 4
%h3.page-title
  %i.fa.fa-bug
5
  = _('Import projects from FogBugz')
Jared Szechy's avatar
Jared Szechy committed
6 7
%hr

8
= form_tag callback_import_fogbugz_path do
Jared Szechy's avatar
Jared Szechy committed
9
  %p
10
    = _("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.")
11
  .form-group.row
12
    = label_tag :uri, _('FogBugz URL'), class: 'col-form-label col-md-2'
13
    .col-md-4
Jared Szechy's avatar
Jared Szechy committed
14
      = text_field_tag :uri, nil, placeholder: 'https://mycompany.fogbugz.com', class: 'form-control'
15
  .form-group.row
16
    = label_tag :email, _('FogBugz Email'), class: 'col-form-label col-md-2'
17
    .col-md-4
Jared Szechy's avatar
Jared Szechy committed
18
      = text_field_tag :email, nil, class: 'form-control'
19
  .form-group.row
20
    = label_tag :password, _('FogBugz Password'), class: 'col-form-label col-md-2'
21
    .col-md-4
Jared Szechy's avatar
Jared Szechy committed
22 23
      = password_field_tag :password, nil, class: 'form-control'
  .form-actions
24
    = submit_tag _('Continue to the next step'), class: 'btn btn-create'