Vermonster / copycat

Copycat is a Rails engine that allows editing live website copy using existing i18n view helpers
MIT License
44 stars 19 forks source link

In-place editing #20

Closed javidjamae closed 11 years ago

javidjamae commented 11 years ago

Is there an easy way to enable in-place editing for fields if you're logged in as an admin? I started looking into best_in_place, but it seems to want to modify model fields and copycat is based on translations. If anybody has solved this already, I'd love to know how to do it.

If nobody has, this would be an awesome feature.

asross commented 11 years ago

copycat translations are ActiveRecord models in their own right, so it wouldn't be hard to apply best_in_place to them. This would be a cool feature.

javidjamae commented 11 years ago

I was going to look into doing this myself, but then I ran across Mercury Editor (http://jejacks0n.github.io/mercury/), which can already handle this sort of in-place editing and can update whatever you want in the controller. I've decided to go with Mercury, so I'll close this out. If any of the project collaborators/contributors want to take this on, they should definitely reopen the issue.