|
|
@ -25,15 +25,15 @@
|
|
|
|
<% if email %>
|
|
|
|
<% if email %>
|
|
|
|
<input name="email" type="hidden" value="<%= email %>">
|
|
|
|
<input name="email" type="hidden" value="<%= email %>">
|
|
|
|
<% else %>
|
|
|
|
<% else %>
|
|
|
|
<label for="email"><%= translate(locale, "User ID:") %></label>
|
|
|
|
<label for="email"><%= translate(locale, "User ID") %> :</label>
|
|
|
|
<input required class="pure-input-1" name="email" type="text" placeholder="User ID">
|
|
|
|
<input required class="pure-input-1" name="email" type="text" placeholder="<%= translate(locale, "User ID") %>">
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
|
|
<% if password %>
|
|
|
|
<% if password %>
|
|
|
|
<input name="password" type="hidden" value="<%= password %>">
|
|
|
|
<input name="password" type="hidden" value="<%= password %>">
|
|
|
|
<% else %>
|
|
|
|
<% else %>
|
|
|
|
<label for="password"><%= translate(locale, "Password:") %></label>
|
|
|
|
<label for="password"><%= translate(locale, "Password") %> :</label>
|
|
|
|
<input required class="pure-input-1" name="password" type="password" placeholder="Password">
|
|
|
|
<input required class="pure-input-1" name="password" type="password" placeholder="<%= translate(locale, "Password") %>">
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
|
|
<% if captcha %>
|
|
|
|
<% if captcha %>
|
|
|
@ -56,7 +56,7 @@
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<input type="hidden" name="captcha_type" value="text">
|
|
|
|
<input type="hidden" name="captcha_type" value="text">
|
|
|
|
<label for="answer"><%= captcha[:question] %></label>
|
|
|
|
<label for="answer"><%= captcha[:question] %></label>
|
|
|
|
<input type="text" name="answer" type="text" placeholder="Answer">
|
|
|
|
<input type="text" name="answer" type="text" placeholder="<%= translate(locale, "Answer") %>">
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
|
|
<button type="submit" name="action" value="signin" class="pure-button pure-button-primary">
|
|
|
|
<button type="submit" name="action" value="signin" class="pure-button pure-button-primary">
|
|
|
@ -90,20 +90,20 @@
|
|
|
|
<% if email %>
|
|
|
|
<% if email %>
|
|
|
|
<input name="email" type="hidden" value="<%= email %>">
|
|
|
|
<input name="email" type="hidden" value="<%= email %>">
|
|
|
|
<% else %>
|
|
|
|
<% else %>
|
|
|
|
<label for="email"><%= translate(locale, "Email:") %></label>
|
|
|
|
<label for="email"><%= translate(locale, "Email") %> :</label>
|
|
|
|
<input required class="pure-input-1" name="email" type="email" placeholder="Email">
|
|
|
|
<input required class="pure-input-1" name="email" type="email" placeholder="<%= translate(locale, "Email") %>">
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
|
|
<% if password %>
|
|
|
|
<% if password %>
|
|
|
|
<input name="password" type="hidden" value="<%= password %>">
|
|
|
|
<input name="password" type="hidden" value="<%= password %>">
|
|
|
|
<% else %>
|
|
|
|
<% else %>
|
|
|
|
<label for="password"><%= translate(locale, "Password:") %></label>
|
|
|
|
<label for="password"><%= translate(locale, "Password") %> :</label>
|
|
|
|
<input required class="pure-input-1" name="password" type="password" placeholder="Password">
|
|
|
|
<input required class="pure-input-1" name="password" type="password" placeholder="<%= translate(locale, "Password") %>">
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
|
|
<% if tfa %>
|
|
|
|
<% if tfa %>
|
|
|
|
<label for="tfa"><%= translate(locale, "Google verification code:") %></label>
|
|
|
|
<label for="tfa"><%= translate(locale, "Google verification code") %> :</label>
|
|
|
|
<input required class="pure-input-1" name="tfa" type="text" placeholder="Google verification code">
|
|
|
|
<input required class="pure-input-1" name="tfa" type="text" placeholder="<%= translate(locale, "Google verification code") %>">
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
|
|
<button type="submit" class="pure-button pure-button-primary"><%= translate(locale, "Sign In") %></button>
|
|
|
|
<button type="submit" class="pure-button pure-button-primary"><%= translate(locale, "Sign In") %></button>
|
|
|
|