Sha256: 5315f04c944eb8fe80acffffd334776a0b0d2dfe32cfe7f30b5bbd5c620d7aee

Contents?: true

Size: 1.26 KB

Versions: 3

Compression:

Stored size: 1.26 KB

Contents

<%= content_tag(:div, :id => dom_id(post), :class=>"dinamic-bl") do %>
  <div class="act-bl" style="display:none;">
    <% permitted_to? :update, post, :context => :manage_posts do %>
      <%= link_to image_tag("manage/ico_edit.gif", :title=>t('manage.edit')), edit_manage_structure_post_path(@structure.id, post.id), :class=>"icons" %>
    <% end %>
    
    <% permitted_to? :delete, post, :context => :manage_posts do %>
      <%= link_to image_tag("manage/ico_del.gif", :title=>t('manage.delete')), manage_structure_post_path(@structure.id, post.id), 
            :method=>:delete, :confirm=>t("manage.confirm_delete"), :class=>"icons" %>
    <% end %>
  </div>
  
  <div class="bot-bg">
    <div class="dinamic-container">
    	<div class="right-data">	
        <div class="right-data-cont">
          <div class="dinamic-inner">
          	<div class="r-block">
              <div class="r-block-cont">
                <%= link_to post.title, edit_manage_structure_post_path(@structure.id, post.id), :class=>"title" %>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div class="left-data">
        <span class="data"><%= raw I18n.l(post.created_at, :format=>"<span>%d/%m</span>%Y") %></span>
      </div>
    </div>
  </div>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
freeberry-0.2.7 lib/generators/freeberry/base/templates/views/manage/posts/_post.html.erb
freeberry-0.2.6 lib/generators/freeberry/base/templates/views/manage/posts/_post.html.erb
freeberry-0.2.5 lib/generators/freeberry/base/templates/views/manage/posts/_post.html.erb