search for: clingman

Displaying 2 results from an estimated 2 matches for "clingman".

Did you mean: clingan
2005 Dec 27
0
Edge Rails idea -- was [DRY relative to edit and show]
Just got around to understanding your idea Rich. Your idea seems to apply to every controller with new/edit/show views, so I think this is a better idea for the edge rails folks to implement generically than for a newbie like me do as a one-off. Thanks Greg On 12/23/05, Rich Clingman <Rich-xT5DcnBKZlNBDgjK7y7TUQ@public.gmane.org> wrote: > > > It would be nice if rails had a native way to set all the readonly > attributes (or enabled, etc... as appropriate for the control) to true or > false based on the view being a show or edit. This would eliminate the &...
2005 Dec 23
4
DRY relative to edit and show
I''m a newbie, but it seems like edit and show should somehow share a partial form. In particular I''ve customized the layout of my edit form by using a table and multiple rows/columns and I want my show form to look the same. Currently I''ve modified my show view to use _form, but now all the fields are read/write and obviously they need to be read only on the show form.