How to modify the HTML generated by Rails form helper -


i want structure:

<label for="form-field-1" class="col-sm-3 control-label no-padding-right">text field</label> <div class="col-sm-9">   <div class="input string optional url_command_model_name"><input type="text" name="url_command[model_name]" id="url_command_model_name" class="string optional"></div> </div> 

but when use = f.input :model_name, html:

<div class="input string optional url_command_model_name">   <label for="url_command_model_name" class="string optional control-label">model name</label>   <input type="text" name="url_command[model_name]" id="url_command_model_name" class="string optional"> </div> 


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -