diff options
| author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-01-28 16:47:55 +0200 |
|---|---|---|
| committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-01-28 16:47:55 +0200 |
| commit | 0a4222fb9802aa979171920c489a7db11e3f1ff8 (patch) | |
| tree | 6e33739801334cdf835715e0c11d1d37adff68c8 /app/views/projects/_form.html.haml | |
| parent | 15b06b01644f31314f3241afbb7a807219f18703 (diff) | |
| download | gitlab-ce-0a4222fb9802aa979171920c489a7db11e3f1ff8.tar.gz | |
Bootstrap: Activities
Diffstat (limited to 'app/views/projects/_form.html.haml')
| -rw-r--r-- | app/views/projects/_form.html.haml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app/views/projects/_form.html.haml b/app/views/projects/_form.html.haml index b7299b54c8e..44b72336051 100644 --- a/app/views/projects/_form.html.haml +++ b/app/views/projects/_form.html.haml @@ -18,10 +18,10 @@ %cite= "http://#{GIT_HOST["host"]}/" .input= f.text_field :code, :placeholder => "example" - - unless @project.new_record? || @project.heads.empty? - .clearfix - = f.label :default_branch, "Default Branch" - .input= f.select(:default_branch, @project.heads.map(&:name), {}, :style => "width:300px;") + - unless @project.new_record? || @project.heads.empty? + .clearfix + = f.label :default_branch, "Default Branch" + .input= f.select(:default_branch, @project.heads.map(&:name), {}, :style => "width:210px;") .clearfix @@ -30,9 +30,9 @@ %br - .merge-tabs + .actions = f.submit 'Save', :class => "btn primary" - + = link_to 'Cancel', @project, :class => "btn" - unless @project.new_record? .right - = link_to 'Remove', @project, :confirm => 'Are you sure?', :method => :delete, :class => "btn" + = link_to 'Remove', @project, :confirm => 'Are you sure?', :method => :delete, :class => "btn danger" |
