Formtastic options

Hello,

I’m looking at formtastic options but I cannot see how I can add some
HTML beside the input field.

I have select tag and I and to allow the visitor to add some text in it.

Those buttons “add new text” should be below the select box.

But I cannot see that formtastic allow you to add any HTML to the input
field?

Do I need to modify formtastic sourcecode to allow that to myself?

Regards,
/Jamal

:input_html =>{ options hash here }

radhames brito wrote:

:input_html =>{ options hash here }

input_html is only for id, class…some html paramtere for input field.

sorry i thought you wanted to add some html options , but now that i
read
again i see you want to add more html to the output.

radhames brito wrote:

sorry i thought you wanted to add some html options , but now that i
read
again i see you want to add more html to the output.

Nobody knows how to create custom input field with formtastic.

I thought this plugin was known around.

sorry i meant to say
you can put normal tags in it i have and is works.

you can out nor mas tags in it i have and is works.

this in the view

check_box_tag :thing

in the controller

item.thing = params[:thing]

there is a plugin to make formtastic work with calendar_date_select go
and
check the code of the plugin since it does what you want.

i bet you can figure out how to do it by checking it out.

radhames brito wrote:

sorry i meant to say
you can put normal tags in it i have and is works.

i want to add more html to the select field.

like to buttons to add and remove from the select field.