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.
2011-12-23 10:34:21 +00:00
|
|
|
<div class="info_input">
|
|
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
|
|
<thead class="list_head">
|
|
|
|
<td><%= t("admin.key") %></td>
|
|
|
|
<% @site_valid_locales.each do |locale| %>
|
|
|
|
<td><%= I18nVariable.first(:conditions => {:key => locale})[I18n.locale] %></td>
|
|
|
|
<% end %>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<% show_attribute.get_enabled_attribute_fields.each do |attr| %>
|
|
|
|
<tr class="list_item">
|
2012-07-25 21:58:09 +00:00
|
|
|
<td><%= attr.title %></td>
|
2011-12-23 10:34:21 +00:00
|
|
|
<% @site_valid_locales.each do |locale| %>
|
|
|
|
<td>
|
|
|
|
<% if attr["locale"] && attr["markup"] == 'text_field' %>
|
|
|
|
<%= show_attribute(@user, attr.id, locale) %>
|
|
|
|
<% else %>
|
|
|
|
<%= show_attribute(@user, attr.id) %>
|
|
|
|
<% end %>
|
|
|
|
</td>
|
|
|
|
<% end %>
|
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|