Ruby on Rails
Monday, February 9, 2015
So we have such wonderfull gems like SimpleForm and Formtastic which help us to build our "new" and "edit" view with great support for Bootstrap and Foundation.
But what about the "show" view? Is it still hand crafted or is there any way to generate a "view only form" with an "Edit" button instead of the "Save/Cancel" buttons?
I couldn't find any options in SimpleForm or Formtastic for making the form read_only ( or rendering an simple string instead a form input field )
Or are there any other gems out there helping us to show our data in a simple CRUD application with support for Bootstrap ?
Thx Klaus
-- But what about the "show" view? Is it still hand crafted or is there any way to generate a "view only form" with an "Edit" button instead of the "Save/Cancel" buttons?
I couldn't find any options in SimpleForm or Formtastic for making the form read_only ( or rendering an simple string instead a form input field )
Or are there any other gems out there helping us to show our data in a simple CRUD application with support for Bootstrap ?
Thx Klaus
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/c5bb8420-1218-4cbf-959c-6be5c35842dc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment