Tests are fixed now

This commit is contained in:
Dmitriy Zaporozhets 2013-01-05 12:12:02 +02:00
parent 0a94640e32
commit e3d7ce2cc4
6 changed files with 19 additions and 23 deletions

View file

@ -11,18 +11,18 @@
.input
= f.text_field :name, placeholder: "Example Project", class: "xxlarge"
%fieldset.adv_settings
%legend Advanced settings:
.clearfix
= f.label :path do
Path
.input
= text_field_tag :ppath, @project.path_to_repo, class: "xlarge", disabled: true
- if project.repo_exists?
%fieldset.adv_settings
%legend Advanced settings:
.clearfix
= f.label :path do
Path
.input
= text_field_tag :ppath, @project.repository.path_to_repo, class: "xlarge", disabled: true
- if project.repo_exists?
.clearfix
= f.label :default_branch, "Default Branch"
.input= f.select(:default_branch, repository.heads.map(&:name), {}, style: "width:210px;")
.input= f.select(:default_branch, @project.repository.heads.map(&:name), {}, style: "width:210px;")
%fieldset.adv_settings
%legend Features: