you could easily tweak the edit action for that if you're not using it. if not, i would set an action to render a form pointing back to update_column action. However, it depends on what else you want to do besides updating a field, i guess if it's an approve action and need to change some state, then i would forget using update_column.
Another way, is to skip AS using only action_link for button, then rendering form, posting back and give feedback all through RJS. On Thu, Jun 9, 2011 at 6:15 AM, vhochstein <[email protected]> wrote: > Hi, > > which version of activescaffold do you use? > > -- > Volker > > On Jun 9, 2:27 am, SOREN CHRISTENSEN <[email protected]> wrote: >> Hi, >> >> Does anyone have a good way to create a one line input form to use on say an >> approve action. >> >> I would like to use an action_link and once clicked it should pop up a >> window to ask for a single value as input to the method. >> >> Any suggestions on how to do this ? >> >> /S > > -- > 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. > > -- 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.
