import React, { Component } from react
class MyComponent extends Component {
render = () => {
return (
{ form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :post, :className => "forgotPassword centerGreyForm" }) do |f| }
FORGOT PASSWORD?
{ f.label :email, "Enter your email:", :className => "firstFieldText" }
{ f.email_field :email, :autofocus => true }
{ f.submit "Send Password Reset Instructions" }
{ end }
)
}
}
export default MyComponent