diff --git a/app/views/site/show.html.erb b/app/views/site/show.html.erb index 92c3210..a2e8aea 100644 --- a/app/views/site/show.html.erb +++ b/app/views/site/show.html.erb @@ -1,18 +1,19 @@
-

<%= @page.title %>

+
<% if @page.type_of != 2 %>
-
+
+

<%= @page.title %>

<%= raw @page.full_text %>
- <% elsif @page.type_of == 2 && @page.article && !@page.article.published_page_articles.blank? %>
-
+
+

<%= @page.title %>

<% for pas in @page.article.published_page_articles %>