foldscaf 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +0 -0
- data/CHANGELOG.md +7 -0
- data/Gemfile +0 -0
- data/README.md +0 -0
- data/Rakefile +0 -0
- data/foldscaf.gemspec +0 -0
- data/lib/foldscaf.rb +0 -0
- data/lib/generators/fold/USAGE +0 -0
- data/lib/generators/fold/atributo.rb +0 -0
- data/lib/generators/fold/fold_generator.rb +0 -0
- data/lib/generators/fold/templates/cargar.erb +0 -0
- data/lib/generators/fold/templates/controller.erb +0 -0
- data/lib/generators/fold/templates/migration.erb +0 -0
- data/lib/generators/fold/templates/model.erb +0 -0
- data/lib/generators/fold/templates/views/_form.erb +0 -5
- data/lib/generators/fold/templates/views/_mini_form.erb +0 -0
- data/lib/generators/fold/templates/views/edit.erb +9 -0
- data/lib/generators/fold/templates/views/index.erb +0 -0
- data/lib/generators/fold/templates/views/new.erb +8 -0
- data/lib/generators/fold/templates/views/nombre.erb +0 -0
- data/lib/generators/mini_form/USAGE +0 -0
- data/lib/generators/mini_form/mini_form_generator.rb +0 -0
- data/lib/generators/mini_form/templates/mini_form.rb +0 -0
- data/lib/version.rb +1 -1
- metadata +2 -2
data/.gitignore
CHANGED
File without changes
|
data/CHANGELOG.md
CHANGED
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
|
data/lib/generators/fold/USAGE
CHANGED
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
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.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-
|
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:
|