Sha256: 5953e6c074ca092129c0754b975f461767b71dffc9da2f23b1d203c4801e6368
Contents?: true
Size: 689 Bytes
Versions: 4
Compression:
Stored size: 689 Bytes
Contents
<div class="table_buttons"> <p>Actions</p> <p> <% if !Snaptable.use_permission || current_permission.allow_create?(params[:controller]) %> <%= link_to "Ajouter", request.path + "/new", class: "add" %> <% end %> <% if !Snaptable.use_permission || current_permission.allow_modify?(params[:controller], "update") %> <a class="edit" href="#">Editer</a> <% end %> <% if !Snaptable.use_permission || current_permission.allow_modify?(params[:controller], "destroy") %> <a class="delete" href="#" data-method="delete" rel="nofollow" data-confirm="Etes-vous sûr de vouloir supprimer cette entrée ?"> Supprimer </a> <% end %> </p> </div>
Version data entries
4 entries across 4 versions & 1 rubygems