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

14 lines
492 B
Plaintext

<% data = action_data %>
<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>
<h3 class="page-module-title"><%= data["title"] %></h3>
<%= data["html"].html_safe unless data["html"].nil? %>
<% 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 %>