Skip to content

Add config for not include Model name to classes of form (feature) #655

Closed
dinatih opened this Issue Aug 16, 2011 · 2 comments

2 participants

@dinatih
dinatih commented Aug 16, 2011

Please, can you add this

ex:
<%= semantic_form_for @model %>


to

@justinfrench
Owner

Hi, this can definitely be done, but I'm curious about why you need it removed... A good example would help! Bumping out to 2.1 or rc5 for now, but it's a quick patch to line 153–157 of form_helper.rb if you need this fast.

@dinatih
dinatih commented Aug 17, 2011

Sorry, Hello :), I want this because I use singular class name in index views (and others listing pages of mixin content); maybe it's better than remove, to be able to prefix the class name like "form_singular_name", If not I need to reinialize all the css properties possible :
form .model_name, form .model_2_name { margin: 0px; list-item: cercle...}.
I will test differentes way on my own copy, thanks
(excuse my poor english)

@dinatih dinatih closed this Aug 17, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.