2018-03-05 17:43:11 +00:00
|
|
|
|
|
|
|
|
2014-06-10 16:59:19 +00:00
|
|
|
|
2018-03-05 18:18:51 +00:00
|
|
|
import React, { Component } from react
|
|
|
|
|
|
|
|
class MyComponent extends Component {
|
|
|
|
render = () => {
|
|
|
|
return (
|
2014-08-12 15:09:53 +00:00
|
|
|
<div id="yield">
|
2018-03-05 17:33:16 +00:00
|
|
|
{ form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :post, :className => "forgotPassword centerGreyForm" }) do |f| }
|
2013-07-10 18:02:38 +00:00
|
|
|
|
2014-09-22 00:47:09 +00:00
|
|
|
<h3>FORGOT PASSWORD?</h3>
|
2013-07-10 18:02:38 +00:00
|
|
|
|
2018-03-05 17:33:16 +00:00
|
|
|
<div>{ f.label :email, "Enter your email:", :className => "firstFieldText" }
|
2018-03-04 02:25:42 +00:00
|
|
|
{ f.email_field :email, :autofocus => true }</div>
|
2013-07-10 18:02:38 +00:00
|
|
|
|
2018-03-04 02:25:42 +00:00
|
|
|
<div>{ f.submit "Send Password Reset Instructions" }</div>
|
2013-07-10 18:02:38 +00:00
|
|
|
|
2018-03-04 02:25:42 +00:00
|
|
|
{ end }
|
2014-08-12 15:09:53 +00:00
|
|
|
</div>
|
2018-03-05 18:18:51 +00:00
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default MyComponent
|
2013-07-10 18:02:38 +00:00
|
|
|
|
|
|
|
|