diff --git a/vendor/built_in_modules/faq/app/views/panel/faq/front_end/qas/show.html.erb b/vendor/built_in_modules/faq/app/views/panel/faq/front_end/qas/show.html.erb index b168b2113..fc989e533 100644 --- a/vendor/built_in_modules/faq/app/views/panel/faq/front_end/qas/show.html.erb +++ b/vendor/built_in_modules/faq/app/views/panel/faq/front_end/qas/show.html.erb @@ -1,31 +1,32 @@ -

<%= @qa.title %>

+ +

<%= @qa.question %>

-
- <%= t(:category) %> : <%= @qa.qa_category.title rescue nil %> -
+
+ <%= t(:category) %>:<%= @qa.qa_category.title rescue nil %> +
- <%= @qa.answer.html_safe rescue '' %> + <%= @qa.answer.html_safe rescue '' %>
- <% if @qa.qa_links.size > 0 %> -
- - -
- <% end %> - <% if @qa.qa_files.size > 0 %> -
- -
- <% @qa.qa_files.each do | bfile | %> - <%= link_to bfile.title, bfile.file.url, {:target => '_blank', :title => bfile.description} if bfile.file.file %> - <% end %> -
-
- <% end %> + <% if @qa.qa_links.size > 0 %> +
+ + +
+ <% end %> + <% if @qa.qa_files.size > 0 %> +
+ +
+ <% @qa.qa_files.each do | bfile | %> + <%= link_to bfile.title, bfile.file.url, {:target => '_blank', :title => bfile.description} if bfile.file.file %> + <% end %> +
+
+ <% end %>