diff --git a/app/views/policies/show.html.erb b/app/views/policies/show.html.erb index 3aa1a91..abf6917 100644 --- a/app/views/policies/show.html.erb +++ b/app/views/policies/show.html.erb @@ -5,16 +5,34 @@
- <%= link_to 'Редагувати', edit_policy_path(@policy), class: "pull-right" %> - -

<%= @policy.name %>

- <%= link_to 'Історія редагувань', policy_path(@policy, history: 1), class: "pull-right" %> -

<%= @policy.description %>

- +
+
+

<%= @policy.name %>

+

<%= @policy.description %>

+
+
+ +
+
-
- <% if params[:history]=="1" %>

Історія редагувань