File: edit.html.haml

package info (click to toggle)
gitlab 17.6.5-19
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 629,368 kB
  • sloc: ruby: 1,915,304; javascript: 557,307; sql: 60,639; xml: 6,509; sh: 4,567; makefile: 1,239; python: 406
file content (7 lines) | stat: -rw-r--r-- 396 bytes parent folder | download
1
2
3
4
5
6
7
- add_to_breadcrumbs _("Topics"), admin_topics_path
- add_to_breadcrumbs @topic.name, edit_admin_topic_path(@topic) # There is no show view, so we reuse edit here
- breadcrumb_title _("Edit")
- page_title _("Edit"), @topic.name, _("Topics")

= render ::Layouts::PageHeadingComponent.new(_('Edit topic: %{topic_name}') % { topic_name: @topic.name })
= render 'form', url: admin_topic_path(@topic)