nevermind yall, I got it. Solution: Make sure to place the <p>button code</p> in the proper place in the partial. For me it was right under the <h4></h4> Then create the css class for the special button location and appearance. done, working...
On May 20, 2:39 pm, coalex <[email protected]> wrote: > Hi All, > I have an annoying user with an annoying request... She wants the form > buttons at the top of the form instead of at the bottom or both. God > knows why! > I've drug my feet on this for three weeks hoping she would go away and > bug somebody else about some other mundane detail that doesn't > matter...but no...she insists and opened another help ticket today. > Good grief! > > Here is the code that creates those buttons...I've tried just moving > the <p>code</p> in the partial but that renders the create and update > buttons useless...please guide me. > > In the file _update_form.rhtml > <p class="form-footer"> > <%= submit_tag as_('Update'), :class => "submit" %> > <%= link_to as_('Cancel'), params_for(:action => 'list'), :class > => 'cancel' %> > <%= loading_indicator_tag(:action => :update, :id => params[:id]) > %> > </p> > > In the file _create_form.rhtml > <p class="form-footer"> > <%= submit_tag as_('Create'), :class => "submit" %> > <%= link_to as_('Cancel'), params_for(:action => 'list'), :class > => 'cancel' %> > <%= loading_indicator_tag(:action => :create, :id => params[:id]) > %> > </p> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---
