13 lines
421 B
Plaintext
13 lines
421 B
Plaintext
-set_meta_tags title: [title_object(@project), t('layout.projects.hooks')]
|
|
= render 'submenu'
|
|
= render 'sidebar'
|
|
|
|
%h1= t("layout.hooks.services.#{@hook.name}")
|
|
|
|
= form_for @hook, url: project_hooks_path(@project), method: :post, html: { class: :form } do |f|
|
|
= render 'form'
|
|
.actions
|
|
= f.submit t('layout.create'), data: {'disable-with' => t('layout.processing')}
|
|
|
|
%br
|
|
= render "projects/hooks/docs/#{@hook.name}" |