?? edit.rhtml
字號:
<!-- ! Excerpted from "Pragmatic Ajax" ! We make no guarantees that this code is fit for any purpose. ! Visit http://www.pragmaticprogrammer.com/titles/ajax for more book information.--><html> <head> <title><%= @page_title %></title> <style type="text/css"> th { text-align: left; } </style> <!-- etc. --> <%= javascript_include_tag 'controls', 'dragdrop', 'effects', 'prototype' %> </head> <body> <h1>Corporate CRM System</h1> <h2>Enter Customer Data</h2> <%= start_form_tag :action => 'update' %> <table> <tr> <th>Customer Name:</th> <td><%= text_field 'address', 'name', {:size => 30} %></td> </tr> <tr> <th>Address:</th> <td><%= text_field 'address', 'address', {:size => 30} %></td> </tr> <tr> <th>City:</th> <td> <div id="city"> <%= text_field 'address', 'city', {:size => 20} %> </div> </td> </tr> <tr> <th>State:</th> <td> <div id="state"> <%= text_field 'address', 'state', {:size => 3, :maxlength => 2} %> </div> </td> </tr> <tr> <th>Zip:</th> <td> <%= text_field 'address', 'zip', {:size => 10, :maxlength => 10} %> </td> </tr> <tr> <th></th> <td><%= submit_tag %></td> </tr> </table> <%= end_form_tag %> </body></html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -