-
Notifications
You must be signed in to change notification settings - Fork 517
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
23175d2
commit 5f52362
Showing
29 changed files
with
327 additions
and
221 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
<!--Descriptive page name, messages and instructions--> | ||
<h2 class="heading"><%= ts("Log in as Admin") %></h2> | ||
<h2 class="heading"><%= t(".page_heading") %></h2> | ||
<!--/descriptions--> | ||
|
||
<!--main content--> | ||
<%= form_for @admin_session do |form| %> | ||
<dl> | ||
<dt><%= form.label :login, ts("Admin user name") %></dt> | ||
<dd><%= form.text_field :login %></dd> | ||
<dt><%= form.label :password, ts("Admin password") %></dt> | ||
<dd><%= form.password_field :password %></dd> | ||
</dl> | ||
<p class="submit actions"><%= form.submit ts('Log in as admin') %></p> | ||
<dl> | ||
<dt><%= form.label :login, t(".admin_username") %></dt> | ||
<dd><%= form.text_field :login %></dd> | ||
<dt><%= form.label :password, t(".admin_password") %></dt> | ||
<dd><%= form.password_field :password %></dd> | ||
</dl> | ||
<p class="submit actions"><%= form.submit t(".log_in_as_admin") %></p> | ||
<% end %> | ||
<!--/content--> | ||
|
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
Oops, something went wrong.