_textfilters.rhtml

来自「用ruby on rails写的一个博客程序,还不错..ruby on rail」· RHTML 代码 · 共 20 行

RHTML
20
字号
<table cellspacing="1" cellpadding="0"><tr>  <th><%= _("Name")%></th>  <th><% _("Description")%></th>  <th><%= _("Markup")%></th>  <th><%= _("Filters")%></th>  <th><%= _("Edit")%></th>  <th><%= _("Delete")%></th></tr><% for textfilter in @textfilters.sort_by { |f| f.name } %><tr <%= alternate_class %>>  <td><%= link_to textfilter.name, {:action => "show", :id => textfilter.id} %> </td>  <td><%=h textfilter.description %></td>  <td><%=h @textfilter_map[textfilter.markup].display_name %></td>  <td><%= textfilter.filters.collect { |f| h(@textfilter_map[f.to_s].display_name) }.join(" &#8594; ") %></td>  <td class="operation"><%= link_to_edit textfilter %></td>  <td class="operation"><%= link_to_destroy textfilter %></td>    </tr>  <% end %></table>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?