14 lines
363 B
Plaintext
14 lines
363 B
Plaintext
= 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
|
|
= f.label :url, "URL:"
|
|
= f.text_field :url, :class => "text_field"
|
|
.clear
|
|
%br
|
|
.merge-tabs
|
|
= f.submit "Save", :class => "grey-button"
|
|
|