summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/custom/page_templates/public/no_date_and_author.html.erb6
-rw-r--r--app/views/custom/page_templates/public/render_page.html.erb (renamed from app/views/content/render_page.html.erb)0
-rw-r--r--app/views/custom/partials/_sidebar_title_only.html.erb (renamed from app/views/custom_templates/partials/_sidebar_title_only.html.erb)0
-rw-r--r--app/views/nodes/edit.html.erb5
4 files changed, 10 insertions, 1 deletions
diff --git a/app/views/custom/page_templates/public/no_date_and_author.html.erb b/app/views/custom/page_templates/public/no_date_and_author.html.erb
new file mode 100644
index 0000000..4eda744
--- /dev/null
+++ b/app/views/custom/page_templates/public/no_date_and_author.html.erb
@@ -0,0 +1,6 @@
1<div class="article">
2 <h2><%= @page.title %></h2>
3 <hr class="subtitle" />
4 <p><em><%= @page.abstract %></em></p>
5 <%= aggregate?(@page.body) %>
6</div> \ No newline at end of file
diff --git a/app/views/content/render_page.html.erb b/app/views/custom/page_templates/public/render_page.html.erb
index 4c21667..4c21667 100644
--- a/app/views/content/render_page.html.erb
+++ b/app/views/custom/page_templates/public/render_page.html.erb
diff --git a/app/views/custom_templates/partials/_sidebar_title_only.html.erb b/app/views/custom/partials/_sidebar_title_only.html.erb
index 819d9ae..819d9ae 100644
--- a/app/views/custom_templates/partials/_sidebar_title_only.html.erb
+++ b/app/views/custom/partials/_sidebar_title_only.html.erb
diff --git a/app/views/nodes/edit.html.erb b/app/views/nodes/edit.html.erb
index 64d4756..929bbf6 100644
--- a/app/views/nodes/edit.html.erb
+++ b/app/views/nodes/edit.html.erb
@@ -13,7 +13,10 @@
13 <%= f.error_messages %> 13 <%= f.error_messages %>
14 14
15 <% fields_for @draft do |d| %> 15 <% fields_for @draft do |d| %>
16 <p></p> 16 <p>
17 <%= d.label :template_name %>
18 <%= d.select :template_name, custom_page_templates %>
19 </p>
17 <p> 20 <p>
18 <%= d.label :title %><br /> 21 <%= d.label :title %><br />
19 <%= d.text_field :title %> 22 <%= d.text_field :title %>