headstart 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/app/views/users/edit.html.erb +1 -0
- data/generators/headstart/templates/style.css +2 -2
- data/generators/headstart_admin/templates/app/views/admin/users/_form.html.erb +25 -25
- data/generators/headstart_admin/templates/app/views/admin/users/edit.html.erb +1 -0
- data/generators/headstart_admin/templates/app/views/admin/users/new.html.erb +2 -3
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.2
|
@@ -1,25 +1,25 @@
|
|
1
|
-
|
2
|
-
<
|
3
|
-
|
4
|
-
|
5
|
-
</
|
6
|
-
<
|
7
|
-
|
8
|
-
|
9
|
-
</
|
10
|
-
<
|
11
|
-
|
12
|
-
|
13
|
-
</
|
14
|
-
<
|
15
|
-
|
16
|
-
|
17
|
-
</
|
18
|
-
<
|
19
|
-
|
20
|
-
|
21
|
-
</
|
22
|
-
<
|
23
|
-
|
24
|
-
|
25
|
-
</
|
1
|
+
<%= form.error_messages %>
|
2
|
+
<p class="text_field">
|
3
|
+
<%= form.label :first_name %>
|
4
|
+
<%= form.text_field :first_name %>
|
5
|
+
</p>
|
6
|
+
<p class="text_field">
|
7
|
+
<%= form.label :last_name %>
|
8
|
+
<%= form.text_field :last_name %>
|
9
|
+
</p>
|
10
|
+
<p class="text_field">
|
11
|
+
<%= form.label :email %>
|
12
|
+
<%= form.text_field :email %>
|
13
|
+
</p>
|
14
|
+
<p class="text_field">
|
15
|
+
<%= form.label :password %></p>
|
16
|
+
<%= form.password_field :password %></p>
|
17
|
+
</p>
|
18
|
+
<p class="password_field">
|
19
|
+
<%= form.label :password_confirmation, "Confirm password" %>
|
20
|
+
<%= form.password_field :password_confirmation %>
|
21
|
+
</p>
|
22
|
+
<p class="password_field">
|
23
|
+
<%= form.label :role %>
|
24
|
+
<%= form.collection_select :role, ['', 'admin'], :to_s, :to_s %>
|
25
|
+
</p>
|
@@ -1,8 +1,7 @@
|
|
1
1
|
<%= render :partial => 'admin/admin_header' %>
|
2
2
|
<h2>Create User</h2>
|
3
|
-
|
3
|
+
|
4
4
|
<% form_for @user, :url => admin_users_path do |form| %>
|
5
5
|
<%= render :partial => '/admin/users/form', :object => form %>
|
6
|
-
|
6
|
+
<%= form.submit 'Save', :disable_with => 'Please wait...' %>
|
7
7
|
<% end %>
|
8
|
-
</table>
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: headstart
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 2
|
10
|
+
version: 0.5.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Bran Burridge
|