headstart 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.0
1
+ 0.5.1
@@ -1,8 +1,25 @@
1
- <%= render :partial => 'admin/admin_header' %>
2
- <h2>Edit User</h2>
3
- <table>
4
- <% form_for @user, :url => admin_user_path(@user) do |form| %>
5
- <%= render :partial => '/admin/users/form', :object => form %>
6
- <tr><td colspan="2"><%= form.submit 'Save', :disable_with => 'Please wait...' %></td></tr>
7
- <% end %>
8
- </table>
1
+ <tr><td colspan="2"><%= form.error_messages %></td></tr>
2
+ <tr>
3
+ <td><%= form.label :first_name %></td>
4
+ <td><%= form.text_field :first_name %></td>
5
+ </tr>
6
+ <tr>
7
+ <td><%= form.label :last_name %></td>
8
+ <td><%= form.text_field :last_name %></td>
9
+ </tr>
10
+ <tr>
11
+ <td><%= form.label :email %></td>
12
+ <td><%= form.text_field :email %></td>
13
+ </tr>
14
+ <tr>
15
+ <td><%= form.label :password %></td>
16
+ <td><%= form.password_field :password %></td>
17
+ </tr>
18
+ <tr>
19
+ <td><%= form.label :password_confirmation, "Confirm password" %></td>
20
+ <td><%= form.password_field :password_confirmation %></td>
21
+ </tr>
22
+ <tr>
23
+ <td><%= form.label :role %></td>
24
+ <td><%= form.collection_select :role, ['', 'admin'], :to_s, :to_s %></td>
25
+ </tr>
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: 11
4
+ hash: 9
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 0
10
- version: 0.5.0
9
+ - 1
10
+ version: 0.5.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Bran Burridge
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-09-14 00:00:00 -04:00
18
+ date: 2010-09-15 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency