search for: field_set_tag

Displaying 2 results from an estimated 2 matches for "field_set_tag".

2011 Sep 01
0
do you think it's the best solution?
...s_nested_attributes_for :roles the shop _form is: = simple_form_for(@shop) do |shop_f| = render ''shared/error_messages'', :object => @shop = render :partial => ''document_fields_form'', :locals => { :f => shop_f } if @shop.new_record? or @document = field_set_tag t(''shop'') do .inputs = shop_f.input :name ............. I want to create a new document only if I''m inserting a new shop record or if @document is defined. Shop_controller e'': def new @shop = Shop.new @document = @shop.documents.build new! end...
2007 Sep 04
4
Could someone take a look at #9477 (new fieldset_tag helper)?
Hi everyone, I just submitted a patch for a new fieldset_tag helper. It''s helpful and encourages developers to follow web standards, etc. "+1"s welcome :-) http://dev.rubyonrails.org/ticket/9477 Cheers Damian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.