-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Styled edit email and edit password pages. Improved spacing on replie…
…s to comments. Replaced many reoccuring inline styles with css classes.
- Loading branch information
1 parent
e15e983
commit ddebe32
Showing
16 changed files
with
115 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<tr style="height:10px"></tr> | ||
<tr class="header-space"></tr> | ||
<tr> | ||
<td> | ||
<h1>New Article</h1> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
<h1>Reset your password?</h1> | ||
<tr class="header-space"></tr> | ||
<tr> | ||
<td> | ||
<h1>Reset your password?</h1> | ||
|
||
<%= form_with model: @user, url: password_reset_edit_path(token: params[:token]), method: :patch do |form| %> | ||
<%= form.label :password %> | ||
<%= form.password_field :password, placeholder: "Password" %> | ||
<%= form.label :password_confirmation %> | ||
<%= form.password_field :password_confirmation, placeholder: "Confirm Password" %> | ||
<%= form.submit "Reset Password", class: "btn btn-primary" %> | ||
<% end %> | ||
<%= form_with model: @user, url: password_reset_edit_path(token: params[:token]), method: :patch do |form| %> | ||
<%= form.label :password %> | ||
<%= form.password_field :password, placeholder: "Password" %> | ||
<%= form.label :password_confirmation %> | ||
<%= form.password_field :password_confirmation, placeholder: "Confirm Password" %> | ||
<%= form.submit "Reset Password", class: "btn btn-primary" %> | ||
<% end %> | ||
</td> | ||
</tr> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
<h1>Edit Email</h1> | ||
<tr class="header-space"></tr> | ||
<tr> | ||
<td> | ||
<h1>Edit Email</h1> | ||
|
||
<%= form_with(model: user, url: update_email_user_path(user), method: :patch) do |form| %> | ||
<div> | ||
<%= form.label :email %><br> | ||
<%= form.email_field :email %> | ||
</div> | ||
<%= form_with(model: user, url: update_email_user_path(user), method: :patch) do |form| %> | ||
<div> | ||
<%= form.label :email %><br> | ||
<%= form.email_field :email %> | ||
</div> | ||
|
||
<div> | ||
<%= form.submit "Update Email" %> | ||
</div> | ||
<% end %> | ||
<div> | ||
<%= form.submit "Update Email" %> | ||
</div> | ||
<% end %> | ||
</td> | ||
</tr> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,22 @@ | ||
<h1>Edit Password</h1> | ||
<tr class="header-space"></tr> | ||
<tr> | ||
<td> | ||
<h1>Edit Password</h1> | ||
|
||
<%= form_for user, url: update_password_user_path(user), method: :patch do |f| %> | ||
<div class="field"> | ||
<div> | ||
<%= f.label :password %> | ||
</div> | ||
<%= f.password_field :password %> | ||
</div> | ||
<div class="field"> | ||
<%= f.label :password_confirmation %><br> | ||
<%= f.password_field :password_confirmation %> | ||
</div> | ||
<div class="actions"> | ||
<%= f.submit "Update Password" %> | ||
</div> | ||
<% end %> | ||
<%= form_for user, url: update_password_user_path(user), method: :patch do |f| %> | ||
<div class="field"> | ||
<div> | ||
<%= f.label :password %> | ||
</div> | ||
<%= f.password_field :password %> | ||
</div> | ||
<div class="field"> | ||
<%= f.label :password_confirmation %><br> | ||
<%= f.password_field :password_confirmation %> | ||
</div> | ||
<div> | ||
<%= f.submit "Update Password" %> | ||
</div> | ||
<% end %> | ||
</td> | ||
</tr> |
Oops, something went wrong.