monban-generators 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/NEWS.rdoc +5 -1
- data/lib/generators/monban/scaffold/scaffold_generator.rb +4 -0
- data/lib/generators/monban/templates/app/views/users/new.html.erb +10 -0
- data/lib/generators/monban/templates/config/locales/monban.en.yml +5 -0
- data/lib/monban/generators/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 924fb11bdeb71785b7ce57ff8a2cc2256c113775
|
4
|
+
data.tar.gz: 5d062e6a0994b1cef26ea33932027b723fe9e38f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e07e28aa82adfe7218bb214bff9a963e4c9c3e87205d47b6e7352c77b8f4dd922b71f0aaf29c4f3d87c7d4bf85533f74bcfa5cefbe6b61c1ab644053b37850c3
|
7
|
+
data.tar.gz: 7b93004d943123a91caa7c959705b1956ffefc3edef2297922c96ea32fbe6e13ecd42600bd6a6cc2a7a21f459c65764f43b3fbfed70a374dd086d02001605cd6
|
data/NEWS.rdoc
CHANGED
@@ -1,4 +1,14 @@
|
|
1
1
|
<%= form_for @user do |form| %>
|
2
|
+
|
3
|
+
<% if @user.errors.any? %>
|
4
|
+
<%= pluralize(@user.errors.count, "error") %> prevented your account from being created:
|
5
|
+
<ul>
|
6
|
+
<% @user.errors.full_messages.each do |error_message| %>
|
7
|
+
<li><%= error_message %></li>
|
8
|
+
<% end %>
|
9
|
+
</ul>
|
10
|
+
<% end %>
|
11
|
+
|
2
12
|
<div>
|
3
13
|
<%= form.label :email %>
|
4
14
|
<%= form.email_field :email %>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: monban-generators
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- halogenandtoast
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -80,6 +80,7 @@ files:
|
|
80
80
|
- lib/generators/monban/templates/app/views/password_resets/new.html.erb
|
81
81
|
- lib/generators/monban/templates/app/views/sessions/new.html.erb
|
82
82
|
- lib/generators/monban/templates/app/views/users/new.html.erb
|
83
|
+
- lib/generators/monban/templates/config/locales/monban.en.yml
|
83
84
|
- lib/generators/monban/templates/db/migrate/create_password_resets.rb
|
84
85
|
- lib/generators/monban/templates/db/migrate/create_users.rb
|
85
86
|
- lib/generators/monban/templates/password_reset_readme
|