thingspeak/app/views/devise/passwords/new.html.erb

35 lines
928 B
Plaintext
Raw Normal View History

2014-03-14 00:16:35 +01:00
<div class="col-sm-7 col-xs-12">
<h4 class="breadcrumb"><%= t(:password_forgot) %></h4>
<div class="col-pad">
<%= t(:password_forgot_message) %>
<br><br>
<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :post, :class => 'form-horizontal' }) do |f| %>
<%= devise_error_messages! %>
<div class="form-group">
<label class="col-sm-3 col-xs-3 control-label"><%= t(:email) %></label>
2014-03-22 18:21:45 +01:00
<div class="col-sm-9 col-xs-9"><%= f.text_field :email, :class => 'form-control' %></div>
2014-03-14 00:16:35 +01:00
</div>
<div class="form-group">
<div class="col-sm-offset-3 col-sm-9 col-xs-offset-3 col-xs-9"><p class="form-control-static"><%= f.submit t(:submit), :class => 'btn btn-primary' %></p></div>
</div>
<% end %>
</div>
</div>
<script type="text/javascript">
2014-03-22 18:21:45 +01:00
document.getElementById('user_email').focus();
2014-03-14 00:16:35 +01:00
</script>