foldscaf 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +3 -0
- data/lib/generators/fold/templates/views/nombre.erb +1 -2
- data/lib/version.rb +1 -1
- metadata +1 -1
data/CHANGELOG.md
CHANGED
@@ -5,7 +5,6 @@
|
|
5
5
|
<%%= link_to icono('move', :black) + " Mover", "#", :class => 'btn btn-mini handle', :title => 'Mantenga click y arrastre para reordenar' %>
|
6
6
|
<%- end -%>
|
7
7
|
<%%= link_to 'Editar', <%= @edit_path %>(<%= @singular %>), :class => 'btn btn-mini' if can? :update, <%= @singular %> %>
|
8
|
-
<%%= link_to 'Eliminar', <%= @singular_path %>(<%= @singular %>), :method => :delete, :data => { :confirm => t('confirmacion') }, :remote => true, :class => 'btn btn-mini btn-danger'
|
9
|
-
if <%= @singular %>.se_puede_eliminar? && can?(:destroy, <%= @singular %>) %>
|
8
|
+
<%%= link_to 'Eliminar', <%= @singular_path %>(<%= @singular %>), :method => :delete, :data => { :confirm => t('confirmacion') }, :remote => true, :class => 'btn btn-mini btn-danger' if <%= @singular %>.se_puede_eliminar? && can?(:destroy, <%= @singular %>) %>
|
10
9
|
</td>
|
11
10
|
<%% end %>
|
data/lib/version.rb
CHANGED