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