diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-08-14 01:22:11 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-08-14 01:22:11 +0200 |
| commit | 19b865108c26cf18c26697fee080844de94fb522 (patch) | |
| tree | 33af772574dacaa43d5ab0f79a2abc64a7bd9fa5 /app/views/nodes/show.html.erb | |
| parent | 45d422f6582ac2ebf455a8c8168738db54a76582 (diff) | |
Scope admin form conventions with a class
.admin_layout replaces the #admin_layout. All css rules and
javascript queries were changed along and rules simplified
where the opportunity arose.
Diffstat (limited to 'app/views/nodes/show.html.erb')
| -rw-r--r-- | app/views/nodes/show.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/nodes/show.html.erb b/app/views/nodes/show.html.erb index af55d699..cf1d79c1 100644 --- a/app/views/nodes/show.html.erb +++ b/app/views/nodes/show.html.erb | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | <% locked_by_other = @node.locked? && @node.lock_owner != current_user %> | 1 | <% locked_by_other = @node.locked? && @node.lock_owner != current_user %> |
| 2 | <% may_change_live = current_user.may_change_live?(@node) %> | 2 | <% may_change_live = current_user.may_change_live?(@node) %> |
| 3 | <div id="admin_layout" class="show_node"> | 3 | <div class="admin_layout show_node"> |
| 4 | <h1><%= title_for_node(@node) %> <small>(<%= I18n.default_locale.to_s.upcase %>)</small></h1> | 4 | <h1><%= title_for_node(@node) %> <small>(<%= I18n.default_locale.to_s.upcase %>)</small></h1> |
| 5 | 5 | ||
| 6 | <div class="layout_row"> | 6 | <div class="layout_row"> |
