Sha256: 9192d65b819c6fc9bf3f7b3592753f43b2e22ab4209d701a8ebfe43df1a15372

Contents?: true

Size: 585 Bytes

Versions: 5

Compression:

Stored size: 585 Bytes

Contents

<p><%= t("table.buttons.title") %></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>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
snaptable-1.0.0 app/views/snaptable/_buttons.html.erb
snaptable-0.9.3 app/views/snaptable/_buttons.html.erb
snaptable-0.9.2 app/views/snaptable/_buttons.html.erb
snaptable-0.9.1 app/views/snaptable/_buttons.html.erb
snaptable-0.9.0 app/views/snaptable/_buttons.html.erb