2013-04-12 14:26:18 +01:00
|
|
|
-set_meta_tags :title => [title_object(@project), t('layout.projects.hooks')]
|
|
|
|
= render 'submenu'
|
|
|
|
= render 'sidebar'
|
|
|
|
|
2013-04-15 10:25:40 +01:00
|
|
|
%h1= t("layout.hooks.services.#{@hook.name}")
|
2013-04-12 14:26:18 +01:00
|
|
|
|
2013-04-14 16:46:56 +01:00
|
|
|
= form_for @hook, :url => project_hook_path(@project, @hook), :method => :put, :html => { :class => :form } do |f|
|
|
|
|
= render 'form'
|
|
|
|
.actions
|
2013-07-24 21:29:28 +01:00
|
|
|
= f.submit t('layout.update'), :data => {'disable-with' => t('layout.processing')}
|
2013-05-16 09:45:27 +01:00
|
|
|
|
|
|
|
%br
|
|
|
|
= render "projects/hooks/docs/#{@hook.name}"
|