Forms - Edits and Shows reuse

Is there a way to “lock” the entire form from edits? and make it
read-only? The reason I ask is that in bigger forms, I would prefer to
draw it only once in a partial and use it for new/edit and show actions.
It gets tedious to have to redo the form for show action.
Thanks for your time.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs