阅读背景:

为这种应用程序调用javascript和呈现部分的正确方法是什么?

来源:互联网 

In my Rails 3 app, I have a number of pages with forms where a user can create records and then edit them. To create a record, the user clicks on the "add a record" button, which brings up a modal dialog with the "new record" form in it. Once the user fills out the form and presses Save, the modal dialog disappears and the table partial updates, showing the new record. To edit a record, the user clicks on an edit link next to any existing record, which brings up a modal dialog with the a similar form to the "new record" form, but has titles of "Editing record" and "Save Edits", etc.In my Rails 3 app, I have a number of pages wit




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: