Started inital migration to rails 3.2

This commit is contained in:
2013-01-19 01:14:55 -05:00
parent 64aff15deb
commit a9a4cd892f
98 changed files with 968 additions and 363 deletions

5
app/views/devise/registrations/edit.html.erb Normal file → Executable file
View File

@@ -6,6 +6,11 @@
<p><%= f.label :email %><br />
<%= f.email_field :email %></p>
<% if current_user.admin? %>
<p><%= f.label :is_admin %><br />
<%= f.check_box :is_admin, {checked: resource.admin?} %></p>
<% end %>
<p><%= f.label :password %> <i>(leave blank if you don't want to change it)</i><br />
<%= f.password_field :password %></p>