Skip to content

Commit

Permalink
Added push URL data to the project editing view [integrity#34]
Browse files Browse the repository at this point in the history
  • Loading branch information
ELLIOTTCABLE authored and sr committed Oct 29, 2008
1 parent 46265ad commit 5afabc3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/integrity/ui/views/new.haml
Expand Up @@ -38,6 +38,11 @@
%button.positive{ :type => "submit" }= @project.new_record? ? "Create Project" : "Update Project"

- unless @project.new_record?
%h2 Push URL
%p
You can use this Push URL with your GitHub project to enable automated continuous integration
%input.text#push_url{ :name => "push_url", :type => "text", :value => project_url(@project, :push), :disabled => :disabled }

%form{ :method => "post", :action => project_url(@project) }
.hidden
%input{ :name => "_method", :type => "hidden", :value => "delete" }
Expand Down

0 comments on commit 5afabc3

Please sign in to comment.