Choose edit option 选择编辑选项
Next, add a function to the Student controller called edit , which is where the edit option is pointing.
接下来,向Student控制器添加一个函数,称为edit,这也是edit选项所指向的位置。
You can modify existing links by using the Edit option from the links pop-up view (Figure 15).
您可以使用Links弹出视图(图15)的Edit选项,来编辑已存在的链接。
However, you will now need to explicitly loop over the database query result object to create the table rows and add the Edit option.
不过,现在需要显式地对数据库查询结果对象进行循环以便创建这些表的行并添加Edit选项。
应用推荐