Sha256: 7d6f2287707e0389d637745dc9e17a4566965155740aa61af93f129588e76ba9

Contents?: true

Size: 604 Bytes

Versions: 5

Compression:

Stored size: 604 Bytes

Contents

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

<%= form_for :typus_user, :url => { :action => :create } 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>
      <%= submit_tag Typus::I18n.t("Sign up"), :class => "button" %>
    </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/account/new.html.erb
typus-3.0.7 app/views/admin/account/new.html.erb
typus-3.0.6 app/views/admin/account/new.html.erb
typus-3.0.5 app/views/admin/account/new.html.erb
typus-3.0.4 app/views/admin/account/new.html.erb