search for: label_text

Displaying 4 results from an estimated 4 matches for "label_text".

2012 Sep 29
0
rails 3.2 nested form names not correct
...<div class="controls"> <%= f.datepicker :date_of_problema, :class => ''date_select'' %> </div> </div> partial: <div class="control-group"> <%= pregunta.label question.name, (question.label_text unless question.label_text.nil?), :class => ''control-label'' %> <div class="controls"> <%= pregunta.send(question.data_type, :option_selected ) %> <%= pregunta.hidden_field :question_id, :value => question.id , :class => "#{ques...
2012 Oct 06
0
rails 3.2 question/answer with a through table
...> <%= render ''questions/question_type'', :pregunta => pregunta, :question => question, :f => f %> <% end %> <% end %> Partial: <div class="control-group"> <%= pregunta.label question.name, (question.label_text unless question.label_text.nil?), :class => ''control-label'' %> <div class="controls"> <% if question.data_type == ''select'' %> <%= pregunta.send(question.data_type, :answer, question.to_select,:class => "#{quest...
2008 Mar 31
2
Rails and Partials
...... I am trying to use partials to create a uniform display box built with html tables. The only way I have thought about accomplishing this is to create two partials: _start_box.erb ---------------- <table id="box" width="<%= width %>"><tr><th><%= h(label_text) %></th></tr><tr><td> _end_box.erb ---------------- </td></tr></table> The to use it my_form.erb ---------------- %= render :partial => "start_box", :locals => { :label_text => "Box Label", :width => "97%" } %&...
2007 May 03
7
How to create a drop-down list with Markaby?
Hi I couldn''t figure out, how to create a drop-down list with Markaby. How would I create something like this: <select name="character"> <option value="marvin">Marvin the paranoid Android</option> <option value="arthur">Arthur Dent</option> <option value="zaphod">Zaphod