flexa_lib 0.2.8 → 0.2.9
Sign up to get free protection for your applications and to get access to all the features.
- data/flexa_lib.gemspec +1 -1
- data/lib/generators/flexa_lib/crud/templates/view_edit.html.erb +1 -1
- data/lib/generators/flexa_lib/crud/templates/view_new.html.erb +1 -1
- data/lib/generators/flexa_lib/crud/templates/view_print.html.erb +1 -1
- data/lib/generators/flexa_lib/crud/templates/view_show.html.erb +1 -1
- data/lib/generators/flexa_lib/crud/templates/view_tables.html.erb +4 -4
- metadata +1 -1
data/flexa_lib.gemspec
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
<%%= render :partial=>'form', :locals=>{:f=>f} %>
|
6
6
|
|
7
|
-
<%%= flexa_fixed_toolbar "<%= plural_model_name
|
7
|
+
<%%= flexa_fixed_toolbar "<%= plural_model_name %>", <%= plural_resource_name %>_path do %>
|
8
8
|
<%%= flexa_submit_button %>
|
9
9
|
<%%= flexa_cancel_button_to @<%= resource_name %> %>
|
10
10
|
<%%= flexa_delete_button_to @<%= resource_name %> %>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
<%%= render :partial=>'form', :locals=>{:f=>f} %>
|
6
6
|
|
7
|
-
<%%= flexa_fixed_toolbar "<%= plural_model_name
|
7
|
+
<%%= flexa_fixed_toolbar "<%= plural_model_name %>", <%= plural_resource_name %>_path do %>
|
8
8
|
<%%= flexa_submit_button %>
|
9
9
|
<%%= flexa_cancel_button_to @<%= resource_name %> %>
|
10
10
|
<%%end%>
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
<%%= render :partial=>'form', :locals=>{:f=>f} %>
|
7
7
|
|
8
|
-
<%%= flexa_fixed_toolbar "<%= plural_model_name
|
8
|
+
<%%= flexa_fixed_toolbar "<%= plural_model_name %>", <%= plural_resource_name %>_path do %>
|
9
9
|
<%%= flexa_submit_button "Imprimir" %>
|
10
10
|
<%%= flexa_cancel_button_to @<%= resource_name %> %>
|
11
11
|
<%%end%>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
<%%= render :partial=>'form', :locals=>{:f=>f} %>
|
8
8
|
|
9
|
-
<%%= flexa_fixed_toolbar "<%= plural_model_name
|
9
|
+
<%%= flexa_fixed_toolbar "<%= plural_model_name %>", <%= plural_resource_name %>_path do %>
|
10
10
|
<%%= flexa_cancel_button_to @<%= resource_name %> %>
|
11
11
|
<%%= flexa_edit_button_to @<%= resource_name %> %>
|
12
12
|
<%%= flexa_delete_button_to @<%= resource_name %> %>
|
@@ -1,11 +1,11 @@
|
|
1
1
|
<%%= flexa_table_for @<%= plural_resource_name %> do -%>
|
2
2
|
<% columns.each do |col| -%>
|
3
|
-
<%% column :<%=col.name%>, :title=>"<%=col.name.
|
3
|
+
<%% column :<%=col.name%>, :title=>"<%=col.name.capitalize%>" %>
|
4
4
|
<% end %>
|
5
5
|
<%% end -%>
|
6
6
|
|
7
|
-
<%%= flexa_fixed_toolbar "<%= plural_model_name
|
8
|
-
<%%= flexa_add_button_to <%= resource_name.
|
9
|
-
<%%= flexa_search_tool <%= resource_name.
|
7
|
+
<%%= flexa_fixed_toolbar "<%= plural_model_name %>", <%= plural_resource_name %>_path do %>
|
8
|
+
<%%= flexa_add_button_to <%= resource_name.capitalize %> %>
|
9
|
+
<%%= flexa_search_tool <%= resource_name.capitalize %> %>
|
10
10
|
<%%= flexa_will_paginate @<%= plural_resource_name %> %>
|
11
11
|
<%% end %>
|