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 CHANGED
@@ -1 +1 @@
1
- 0.5.1
1
+ 0.5.2
@@ -1,3 +1,4 @@
1
+ <% content_for :title do %>Edit My Profile<% end %>
1
2
  <h2>Edit My Profile</h2>
2
3
 
3
4
  <% form_for @user do |form| %>
@@ -16,8 +16,8 @@
16
16
  }
17
17
 
18
18
  .notice_flash {
19
- color: #000;
20
- background-color: #E7E5E5;aa;
19
+ color: #000;
20
+ background-color: #E7E5E5;
21
21
  }
22
22
 
23
23
  .failure_flash {
@@ -1,25 +1,25 @@
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>
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,3 +1,4 @@
1
+ <%= render :partial => 'admin/admin_header' %>
1
2
  <h2>Edit User</h2>
2
3
 
3
4
  <% form_for @user, :url => admin_user_path(@user) do |form| %>
@@ -1,8 +1,7 @@
1
1
  <%= render :partial => 'admin/admin_header' %>
2
2
  <h2>Create User</h2>
3
- <table>
3
+
4
4
  <% form_for @user, :url => admin_users_path do |form| %>
5
5
  <%= render :partial => '/admin/users/form', :object => form %>
6
- <tr><td colspan="2"><%= form.submit 'Save', :disable_with => 'Please wait...' %></td></tr>
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: 9
4
+ hash: 15
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 1
10
- version: 0.5.1
9
+ - 2
10
+ version: 0.5.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Bran Burridge