2012-01-03 19:07:56 -05:00
|
|
|
= render "repositories/head"
|
|
|
|
= form_for [@project, @hook], :as => :hook, :url => project_hooks_path(@project) do |f|
|
|
|
|
-if @hook.errors.any?
|
|
|
|
%ul
|
|
|
|
- @hook.errors.full_messages.each do |msg|
|
|
|
|
%li= msg
|
2012-02-18 08:59:01 -05:00
|
|
|
.clearfix
|
|
|
|
= f.label :url, "URL:"
|
|
|
|
.input= f.text_field :url, :class => "text_field"
|
|
|
|
.actions
|
|
|
|
= f.submit "Save", :class => "btn"
|
2012-01-03 19:07:56 -05:00
|
|
|
|