How to create dynamic edit option for static content in full static ruby on rails app

I just created a question in stackoverflow, Link is here, Please see
this
and answer my question.

Thanks

Pradeep Gupta
Ruby On Rails Developer