This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/views/admin/user_attributes/index.html.erb

23 lines
632 B
Plaintext
Raw Normal View History

2010-03-15 09:35:01 +00:00
<h1>Listing user attributes</h1>
<table>
<tr>
<th>名稱</th>
<th>Key</th>
<th></th>
<th></th>
</tr>
<% @user_attributes.each do |user_attribute| %>
<tr>
<td><%= user_attribute.name %></td>
<td><%= user_attribute.key %></td>
<td><%= link_to t(:edit), edit_admin_user_attribute_path(user_attribute) %></td>
<td><%= link_to t(:delete), admin_user_attribute_path(user_attribute), :confirm => 'Are you sure?', :method => :delete %></td>
</tr>
<% end %>
</table>
<br />
<%= link_to t(:new_user_attribute, :scope => :admin), new_admin_user_attribute_path, :class => 'button positive' %>