-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Attempt to validate when input loses focus * Attempt to render errors one after another * user new inputs for better harmonised form components * Identify error message with data-tag attribute * Shift error message position * Update CHANGELOG.md * Use gettext to translate errors for frontend * Prevent form from jumping on and off when error appears, validate only on blur * Remove unused Accounts.change_user_details function * Update errors.po * Remove unused function from migration
- Loading branch information
Showing
67 changed files
with
559 additions
and
635 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
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,11 +1,21 @@ | ||
<ul> | ||
<%= if @current_user do %> | ||
<li><%= @current_user.email %></li> | ||
<li><%= link("Settings", to: Routes.profile_edit_path(@conn, :edit)) %></li> | ||
<li> | ||
<.link href={Routes.profile_edit_path(@conn, :edit)}> | ||
Settings | ||
</.link> | ||
</li> | ||
<% else %> | ||
<li> | ||
<%= link("Register", to: Routes.user_registration_path(@conn, :new)) %> | ||
<.link href={Routes.user_registration_path(@conn, :new)}> | ||
Register | ||
</.link> | ||
</li> | ||
<li> | ||
<.link href={Routes.user_session_path(@conn, :new)}> | ||
Log in | ||
</.link> | ||
</li> | ||
<li><%= link("Log in", to: Routes.user_session_path(@conn, :new)) %></li> | ||
<% end %> | ||
</ul> |
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
Oops, something went wrong.