Sha256: 84021ae8711916158cc80a6459390ba6729e72ace89c40ca17041beebaf8056f

Contents?: true

Size: 626 Bytes

Versions: 1

Compression:

Stored size: 626 Bytes

Contents

<div class="table_buttons">
	<p>Actions</p>
	<p>
    <% if add_button? %>
		  <%= link_to t("table.buttons.add"), request.path + "/new", class: "add" %>
    <% end %>
    <% if  edit_button? %>
		  <a class="edit" href="#"><%= t("table.buttons.edit") %></a>
    <% end %>
    <% if show_button? %>
      <a class="show" href="#"><%= t("table.buttons.show") %></a>
    <% end %>
    <% if delete_button? %>
		  <a class="delete" href="#" data-method="delete" 
      rel="nofollow" data-confirm="Etes-vous sûr de vouloir supprimer cette entrée ?">
        <%= t("table.buttons.delete") %>
      </a>
    <% end %>
	</p>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
snaptable-0.8.4 app/views/snaptable/_buttons.html.erb