This instance will be upgraded to Heptapod 0.31.0 (final) on 2022-05-24 at 14:00 UTC+2 (a few minutes of down time)

_new_form.html.haml 713 Bytes
Newer Older
1
= form_for(@project, remote: true) do |f|
2
3
4
5
6
7
8
  - if @project.errors.any?
    .alert-message.block-message.error
      %span= @project.errors.full_messages.first
  .clearfix.project_name_holder
    = f.label :name do
      Project name is
    .input
9
      = f.text_field :name, placeholder: "Example Project", class: "xxlarge"
10
      = f.submit 'Create project', class: "btn primary project-submit"
11

12
  - if current_user.several_namespaces?
13
    .clearfix
14
15
      = f.label :namespace_id do
        %span.cgray Namespace
16
      .input
17
18
19
20
        = f.select :namespace_id, namespaces_options, {}, {class: 'chosen'}
  %hr
  %p.padded
    All created project are private. You choose who can see project and commit to repository.