Sha256: bd8327ec844d29962cc3948ccc1d421f15251a218d1d042a2bea9974f6a226ac
Contents?: true
Size: 1.08 KB
Versions: 3
Compression:
Stored size: 1.08 KB
Contents
.deploy %form{:"accept-charset" => "UTF-8", :action => "/projects/#{project.name}/deploy", :method => "POST"} = csrf_tag .field %label.two-column{:for => 'branch'} branch: %select.two-column{:id => 'branch', :name => "deploy[branch]"} - branches.each do |branch| %option= branch .field %input{:id => "environment", :name => "deploy[environment]", :placeholder => "environment <default>", :type => "text"} .field %input{:id => "box", :name => "deploy[box]", :placeholder => "box <default>", :type => "text"} .field %a.box#add-action{:href => "#"} + add action .field %a.box#add-variable{:href => "#"} + add variable .field - if is_deploying? %input{:id => "deploy", :class => "button disabled", :type => "submit", :value => "can't deploy while deploying", :disabled => "disabled"} - else %input{:id => "deploy", :class => "button", :type => "submit", :value => "deploy"} %a.box{:href => "/projects/edit/#{project.name}"} edit... %a.box{:href => "/projects/#{project.name}/deploys"} history...
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
deep_thought-0.2.1 | lib/deep_thought/views/projects/show.haml |
deep_thought-0.1.1 | lib/deep_thought/views/projects/show.haml |
deep_thought-0.1.0 | lib/deep_thought/views/projects/show.haml |