2018-11-18 11:00:15 +05:30
- page_title _("FogBugz Import")
2021-09-04 01:27:46 +05:30
- header_title _("New project"), new_project_path
- add_to_breadcrumbs s_('ProjectsNew|Import project'), new_projects_path(anchor: 'import_project')
2020-11-24 15:15:51 +05:30
%h3.page-title.d-flex
.gl-display-flex.gl-align-items-center.gl-justify-content-center
= sprite_icon('bug', css_class: 'gl-mr-2')
2018-11-18 11:00:15 +05:30
= _('Import projects from FogBugz')
2015-09-25 12:07:36 +05:30
%hr
2018-11-08 19:23:39 +05:30
= form_tag callback_import_fogbugz_path do
2015-09-25 12:07:36 +05:30
%p
2018-11-18 11:00:15 +05:30
= _("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.")
2018-11-08 19:23:39 +05:30
.form-group.row
2018-11-18 11:00:15 +05:30
= label_tag :uri, _('FogBugz URL'), class: 'col-form-label col-md-2'
2018-11-08 19:23:39 +05:30
.col-md-4
2021-06-08 01:23:25 +05:30
= text_field_tag :uri, nil, placeholder: 'https://mycompany.fogbugz.com', class: 'form-control gl-form-input'
2018-11-08 19:23:39 +05:30
.form-group.row
2018-11-18 11:00:15 +05:30
= label_tag :email, _('FogBugz Email'), class: 'col-form-label col-md-2'
2018-11-08 19:23:39 +05:30
.col-md-4
2021-06-08 01:23:25 +05:30
= text_field_tag :email, nil, class: 'form-control gl-form-input'
2018-11-08 19:23:39 +05:30
.form-group.row
2018-11-18 11:00:15 +05:30
= label_tag :password, _('FogBugz Password'), class: 'col-form-label col-md-2'
2018-11-08 19:23:39 +05:30
.col-md-4
2021-06-08 01:23:25 +05:30
= password_field_tag :password, nil, class: 'form-control gl-form-input'
2015-09-25 12:07:36 +05:30
.form-actions
2021-04-17 20:07:23 +05:30
= submit_tag _('Continue to the next step'), class: 'gl-button btn btn-confirm'