foldscaf 0.0.4 → 0.0.5

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/.gitignore CHANGED
File without changes
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## v0.0.5
2
+ * Edit y New ahora tienen su propio header, y votones para volver y ver, en lugar de Cancelar
3
+ * _form ahora es solo el formulario
4
+
5
+ ## v0.0.4
6
+ * Refactoring
7
+
1
8
  ## v0.0.3
2
9
  * agregado index y unique a slug en migrations
3
10
  * eliminado helper
data/Gemfile CHANGED
File without changes
data/README.md CHANGED
File without changes
data/Rakefile CHANGED
File without changes
data/foldscaf.gemspec CHANGED
File without changes
data/lib/foldscaf.rb CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,7 +1,3 @@
1
- <div class="page-header">
2
- <h1><%= @classes %></h1>
3
- </div>
4
-
5
1
  <%%= simple_form_for <%= @singular %>, :url => url, :html => { :class => 'form-horizontal' } do |f| %>
6
2
  <%- @atributos.each do |a| -%>
7
3
  <%%= f.<%= a.clase == :references ? :association : :input %> :<%= a.nombre %> %>
@@ -9,6 +5,5 @@
9
5
 
10
6
  <div class="controls">
11
7
  <%%= f.button :submit, :name => nil, :disable_with => t("espere"), :class => 'btn btn-primary' %>
12
- <%%= link_to "Cancelar", <%= @plural_path %>, :class => 'btn' %>
13
8
  </div>
14
9
  <%% end %>
File without changes
@@ -1 +1,10 @@
1
+ <div class="page-header">
2
+ <h1>Editar <%= @class %></h1>
3
+ </div>
4
+
5
+ <nav class="well">
6
+ <%%= link_to "Volver", <%= @plural_path %>, :class => 'btn' %>
7
+ <%%= link_to "Ver", <%= @singular_path %>(@<%= @singular %>), :class => 'btn' %>
8
+ </nav>
9
+
1
10
  <%%= render "form", :<%= @singular %> => @<%= @singular %>, :url => <%= @singular_path %>(@<%= @singular %>) %>
File without changes
@@ -1 +1,9 @@
1
+ <div class="page-header">
2
+ <h1>Agregar <%= @class %></h1>
3
+ </div>
4
+
5
+ <nav class="well">
6
+ <%%= link_to "Volver", <%= @plural_path %>, :class => 'btn' %>
7
+ </nav>
8
+
1
9
  <%%= render "form", :<%= @singular %> => @<%= @singular %>, :url => <%= @plural_path %> %>
File without changes
File without changes
File without changes
File without changes
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Foldscaf
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
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
4
+ version: 0.0.5
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-03-20 00:00:00.000000000 Z
12
+ date: 2012-04-09 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Generadores adaptados a las necesidades de Xaver
15
15
  email: