app/views/users/passwords/edit.html.erb in mcms_authentication-0.0.2 vs app/views/users/passwords/edit.html.erb in mcms_authentication-0.0.3
- old
+ new
@@ -13,10 +13,16 @@
@Last Modification Details :Making it as mcms project standard
@Purpose :Passwords edit page
-->
+
+<% content_for :head do %>
+<%= javascript_include_tag "application","authentication_global" %>
+<%= stylesheet_link_tag "authentication_global",:media => "all" %>
+
+<% end %>
<h2>Change your password</h2>
<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put }) do |f| %>
<%= devise_error_messages! %>
@@ -29,10 +35,20 @@
<div><%= f.label :password_confirmation, "Confirm new password" %><br />
<%= f.password_field :password_confirmation %></div>
- <div><%= f.submit "Change my password" %></div>
+ <div><div class="form-actions" style="border-radius: 5px 5px 5px 5px;margin-top:20px;height: 35px;background-color: #EAEAEA;">
+
+ <div class="form-actions-left" style="float: left;margin-left: 10px;margin-top: 8px;">
+
+ <%= f.submit "save",:class => "button" %>
+
+
+
+ </div>
+
+ </div></div>
<% end %>
<%= render :partial => "devise/shared/links" %>
\ No newline at end of file