I haven't tried these but http://ruby-toolbox.com/ lists the following under Rails Presenters:
apotomo, active_presenter, viewtastic, and view_models The first item is bolded which I take as a recommendation. I'd like to hear how you go because I don't see why there shouldn't be a (nice) presentation equivalent to formtastic. Cheers Ritchie On Thu, Dec 2, 2010 at 12:28 PM, James Ferguson <[email protected]> wrote: > > Hi, > I'm using formtastic for my create/update pages and it's great, but I just > wish it was as nice to use it for the show page. > There's a StackOverflow thread about the same question: > http://stackoverflow.com/questions/1905880/is-there-any-rails-plugin-like-formtastic-that-makes-show-and-index-views-easier > but none of the alternatives seem that great for the show page (or very > actively developed). > It seems a lot of people just use disabled formtastic forms on the show page. > But as far as I can tell that requires you to disable each field > individually, which if you use a shared partial, ends up looking something > like: > <%= f.input :email, :input_html => { :maxlength => 255, :disabled => > (controller.action_name == "show" ? true : false) } %> > at minimum for each field, which is not ideal. > Is there an obvious alternative I'm missing here? > james > > -- > You received this message because you are subscribed to the Google Groups > "Ruby or Rails Oceania" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rails-oceania?hl=en. -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.
