search for: form_ui

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

Did you mean: form_id
2008 Sep 05
1
ActiveScaffold :form_ui select
If I have two :form_ui select boxes, how can I make the first select box reload the values in the second? For example, ---> [Car Maker] -------> [Car Model] When I change a value in the ''Car Maker'' select box, I want to display values in the ''Car Model'' select box that only bel...
2009 Mar 23
2
Select updates database?
...tate My Controller: before_filter :login_required layout "admin" active_scaffold :grant_loan do |config| config.list.columns = [:agency, :gov_type, :title, :url] config.columns.exclude :state_name config.label = ''Grants and Loans'' columns[:state].form_ui = :select columns[:industries].form_ui = :select end Partial: <%= select :grant_loan, :business_type, [''for_profit'',''non_profit''], {:selected => @record.business_type, :prompt => "Select The Business Type"}, {} %> --~--~---------...
2011 Feb 07
0
dependencies problem
hi, i am new to ruby on rails,i want to remove a field from the edit screen,how to know whether removing that field will effect the other screens. i want to remove the below code from my controller config.columns[:status].form_ui = :radio config.columns[:status].options = {} config.columns[:status].options[:values] = [[''Active'', ''A''], ["Inactive", ''I'']] thanks in advance -- Harika Grandhi -- You received this message because you are subscribed to...
2007 Oct 29
2
UI drop down list pulled from database values in activescaffold
as i''m finding it difficult to override the form Ui elements using activescaffold -= i''m looking for a help to build a drop down list in UI (values pulled from databse through SQL query) and so user can select these valus while submitting to database. pls provide any example strictly using activescaffold plugin. thanks selvan-kalaiselvan