2012-08-10 18:07:50 -04:00
|
|
|
= form_for(@project, remote: true) do |f|
|
2012-04-24 14:49:34 -04:00
|
|
|
- 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
|
2012-08-10 18:07:50 -04:00
|
|
|
= f.text_field :name, placeholder: "Example Project", class: "xxlarge"
|
2012-08-30 15:15:34 -04:00
|
|
|
= f.submit 'Create project', class: "btn primary project-submit"
|
2012-04-24 14:49:34 -04:00
|
|
|
|
|
|
|
%hr
|
2012-08-29 15:29:50 -04:00
|
|
|
%div.adv_settings
|
|
|
|
%h6 Advanced settings:
|
2012-04-24 14:49:34 -04:00
|
|
|
.clearfix
|
2012-06-03 18:37:27 -04:00
|
|
|
= f.label :path do
|
2012-04-24 14:49:34 -04:00
|
|
|
Git Clone
|
|
|
|
.input
|
|
|
|
.input-prepend
|
2012-07-02 14:51:48 -04:00
|
|
|
%span.add-on= Gitlab.config.ssh_path
|
2012-08-10 18:07:50 -04:00
|
|
|
= f.text_field :path, placeholder: "example_project", disabled: !@project.new_record?
|
2012-04-24 14:49:34 -04:00
|
|
|
%span.add-on= ".git"
|
|
|
|
.clearfix
|
2012-06-03 18:37:27 -04:00
|
|
|
= f.label :code do
|
2012-04-24 14:49:34 -04:00
|
|
|
URL
|
|
|
|
.input
|
|
|
|
.input-prepend
|
|
|
|
%span.add-on= web_app_url
|
2012-08-10 18:07:50 -04:00
|
|
|
= f.text_field :code, placeholder: "example"
|