pagecontent/app/views/page_contents/index.html.erb

13 lines
466 B
Plaintext
Raw Normal View History

2014-05-06 09:20:15 +00:00
<% data = action_data %>
2015-04-13 06:13:41 +00:00
<div class="view_count pull-right">
<i class="fa fa-eye"><%= data["view-count-head"] %>:</i>
<span class="view-count"><%= data["view_count"] %></span>
</div>
2018-12-08 15:18:24 +00:00
<h3 class="page-module-title"><%= data["title"] %></h3>
2015-04-13 06:13:41 +00:00
2014-08-05 06:45:30 +00:00
<%= data["html"].html_safe %>
<% if !data["url_to_edit"].blank? %>
<p class='admin-edit text-right'><a class='btn btn-primary' href='<%= data["url_to_edit"] %>'><i class='icon-edit'></i> <%= t(:edit) %></a></p>
<% end %>