diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-08 11:56:39 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-08 11:56:39 +0200 |
| commit | b555a3e05c44f21067855b6bbafa70a5e32c9a40 (patch) | |
| tree | 94be1e11be4375e7fcecfca1df979c7995a1a0cb | |
| parent | b034da9fbabb882fbe9f5f3f355442dfa20e5ecf (diff) | |
Promote page title to headline in nodes#show
| -rw-r--r-- | app/views/nodes/show.html.erb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app/views/nodes/show.html.erb b/app/views/nodes/show.html.erb index 71dbaa3..2ab7986 100644 --- a/app/views/nodes/show.html.erb +++ b/app/views/nodes/show.html.erb | |||
| @@ -4,8 +4,8 @@ | |||
| 4 | <% end %> | 4 | <% end %> |
| 5 | 5 | ||
| 6 | <div id="page_editor" class="show_node"> | 6 | <div id="page_editor" class="show_node"> |
| 7 | <h1><%= title_for_node(@node) %></h1> | ||
| 7 | <div id="content"> | 8 | <div id="content"> |
| 8 | |||
| 9 | <div class="node_description">People</div> | 9 | <div class="node_description">People</div> |
| 10 | <div class="node_content node_info_group"> | 10 | <div class="node_content node_info_group"> |
| 11 | <div class="node_info_group_items"> | 11 | <div class="node_info_group_items"> |
| @@ -128,9 +128,6 @@ | |||
| 128 | </div> | 128 | </div> |
| 129 | <% end %> | 129 | <% end %> |
| 130 | 130 | ||
| 131 | <div class="node_description"><strong>Title</strong></div> | ||
| 132 | <div class="node_content"><strong><%= sanitize(@page.title) %></strong></div> | ||
| 133 | |||
| 134 | <div class="node_description">Abstract</div> | 131 | <div class="node_description">Abstract</div> |
| 135 | <div class="node_content"><%= sanitize(@page.abstract) %></div> | 132 | <div class="node_content"><%= sanitize(@page.abstract) %></div> |
| 136 | 133 | ||
