Sha256: c2fdb11a90b15139fa6b9130c07ac66635e689c9ee7c090acdba996716f1b496

Contents?: true

Size: 486 Bytes

Versions: 13

Compression:

Stored size: 486 Bytes

Contents

<fieldset>
    <% label = Typus.user_class.human_attribute_name(:email) %>
    <%= form.text_field :email, :placeholder => label, :class => 'span4', :autofocus => 'autofocus' %>

  <% if controller.controller_name == 'session' %>
      <% label = Typus.user_class.human_attribute_name(:password) %>
      <%= form.password_field :password, :placeholder => label, :class => 'span4' %>
  <% end %>

  <%= form.submit Typus::I18n.t(submit_text), :class => 'btn btn-primary' %>
</fieldset>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
brainsome_typus-4.0.0.beta13 app/views/admin/account/_form.html.erb
brainsome_typus-4.0.0.beta12 app/views/admin/account/_form.html.erb
brainsome_typus-4.0.0.beta11 app/views/admin/account/_form.html.erb
brainsome_typus-4.0.0.beta10 app/views/admin/account/_form.html.erb
brainsome_typus-4.0.0.beta9 app/views/admin/account/_form.html.erb
brainsome_typus-4.0.0.beta8 app/views/admin/account/_form.html.erb
brainsome_typus-4.0.0.beta7 app/views/admin/account/_form.html.erb
brainsome_typus-4.0.0.beta6 app/views/admin/account/_form.html.erb
brainsome_typus-4.0.0.beta5 app/views/admin/account/_form.html.erb
brainsome_typus-4.0.0.beta4 app/views/admin/account/_form.html.erb
brainsome_typus-4.0.0.beta3 app/views/admin/account/_form.html.erb
brainsome_typus-4.0.0.beta2 app/views/admin/account/_form.html.erb
brainsome_typus-4.0.0.beta1 app/views/admin/account/_form.html.erb