1- < h2 > <%= t 'devise.invitations.edit.header' %> </ h2 >
1+ < div class ="login-form ">
2+ < h3 class ="login-head "> < i class ="fa fa-lg fa-fw fa-user "> </ i > Set Your Password</ h3 >
3+ <%= form_for resource , :as => resource_name , :url => invitation_path ( resource_name ) , :html => { :method => :put } do |f | %>
4+ <%= devise_error_messages! %>
5+ <%= f . hidden_field :invitation_token , readonly : true %>
6+ < div class ="form-group ">
27
3- <%= form_for resource , :as => resource_name , :url => invitation_path ( resource_name ) , :html => { :method => :put } do | f | %>
4- < %= devise_error_messages! % >
5- <%= f . hidden_field :invitation_token , readonly : true % >
8+ <% if f . object . class . require_password_on_accepting %>
9+ < p > < %= f . label :password %> < br / >
10+ <%= f . password_field :password , class : 'form-control' %> </ p >
611
7- <% if f . object . class . require_password_on_accepting %>
8- < p > <%= f . label :password %> < br />
9- <%= f . password_field :password %> </ p >
12+ < p > <%= f . label :password_confirmation %> < br />
13+ <%= f . password_field :password_confirmation , class : 'form-control' %> </ p >
14+ <% end %>
15+ </ div >
1016
11- < p > <%= f . label :password_confirmation %> < br />
12- <%= f . password_field :password_confirmation %> </ p >
17+ < div class ="form-group btn-container ">
18+ <%= button_tag type : 'submit' , class : "btn btn-primary btn-block" do %>
19+ < i class ="fa fa-sign-in fa-lg fa-fw "> </ i > Create Account</ button >
20+ <% end %>
21+ </ div >
22+ < p >
1323 <% end %>
14-
15- < p > <%= f . submit t ( "devise.invitations.edit.submit_button" ) %> </ p >
16- <% end %>
24+ </ div >
0 commit comments