foldscaf 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
## v0.0.7
|
|
2
|
+
* Mejorado boton para Ordenar
|
|
3
|
+
* Id de tablas ahora corresponde al tableize de la clase del elemento, en lugar de a :listado (esto permite trabajar con multiples tablas).
|
|
4
|
+
* Friendly Id ahora usa el identificador como slug
|
|
5
|
+
|
|
1
6
|
## v0.0.6
|
|
2
7
|
* Botones alineados a la derecha en Administración
|
|
3
8
|
* Quitado boton 'ver' de edit, ya que no existe el show
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
<%%= render "mini_form", :<%= @singular %> => @<%= @singular %>, :url => <%= @plural_path %> %>
|
|
11
11
|
|
|
12
|
-
<%%= content_tag :table, :id =>
|
|
12
|
+
<%%= content_tag :table, :id => @<%= @singular %>.class.name.tableize, :class => [:table, :"table-striped", :ordenable] do %>
|
|
13
13
|
<%%= thead :<%= @identificador %> %>
|
|
14
14
|
<%%= content_tag :tbody, render(@<%= @plural %>) %>
|
|
15
15
|
<%% end %>
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<td><%%= <%= @singular %>.<%= @identificador %> %></td>
|
|
3
3
|
<td style="text-align:right;">
|
|
4
4
|
<%- if @con_orden -%>
|
|
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? :editar, <%= @singular %> %>
|
|
8
8
|
<%%= link_to "Eliminar", <%= @singular_path %>(<%= @singular %>), :method => :delete, :confirm => t("confirmacion"), :remote => true, :class => 'btn btn-mini btn-danger' if can? :destroy, <%= @singular %> %>
|
data/lib/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: foldscaf
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.7
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-04-
|
|
12
|
+
date: 2012-04-10 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
14
|
description: Generadores adaptados a las necesidades de Xaver
|
|
15
15
|
email:
|