Sha256: c84c7441ccac715c084f833de56871f07a3f2d2a2870d2b50f9e82c64db67153

Contents?: true

Size: 926 Bytes

Versions: 5

Compression:

Stored size: 926 Bytes

Contents

<%
  page_title = Typus::I18n.t("Sign in")
  title(page_title)
%>

<%= form_for :typus_user, :url => { :action => :create, :back_to => params[:back_to] } do |form| %>

  <ul>

    <li>
      <%= form.label :email, Typus.user_class.human_attribute_name(:email), :for => 'autofocus' %>
      <%= form.text_field :email, :size => 20, :class => "text", :id => 'autofocus', :autofocus => 'autofocus' %>
    </li>

    <li>
      <%= form.label :password, Typus.user_class.human_attribute_name(:password) %>
      <%= form.password_field :password, :size => 20, :class => "text" %>
    </li>

    <li>
      <%= submit_tag Typus::I18n.t("Sign in"), :class => "button" %> <%= link_to Typus::I18n.t("Recover password"), forgot_password_admin_account_index_path if Typus.mailer_sender %>
    </li>

  </ul>

  <script type="text/javascript">
    (function() { document.getElementById('autofocus').focus(); })();
  </script>

<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
typus-3.0.8 app/views/admin/session/new.html.erb
typus-3.0.7 app/views/admin/session/new.html.erb
typus-3.0.6 app/views/admin/session/new.html.erb
typus-3.0.5 app/views/admin/session/new.html.erb
typus-3.0.4 app/views/admin/session/new.html.erb