Skip to content

Instantly share code, notes, and snippets.

@uokesita
Created January 18, 2011 00:57
Show Gist options
  • Save uokesita/783819 to your computer and use it in GitHub Desktop.
Save uokesita/783819 to your computer and use it in GitHub Desktop.
= simple_form_for @post do |f|
...
= f.simple_fields_for :seccione do |seccion_f|
.seccion
%h2 Seccion
= seccion_f.input :cabecera
= seccion_f.input :cuerpo, :input_html => {:rows =>5}
= seccion_f.input :posicion
= f.button :submit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment