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-02-01 07:12:23 +00:00
|
|
|
<fieldset>
|
|
|
|
<legend><%= am.i18n_variable[I18n.locale] %></legend>
|
|
|
|
<table>
|
2011-05-02 04:07:31 +00:00
|
|
|
<% am.get_enabled_attribute_models.each do |attr| %>
|
2011-02-01 07:12:23 +00:00
|
|
|
<tr>
|
|
|
|
<td><%= attr.i18n_variable[I18n.locale] %></td>
|
|
|
|
<td>
|
|
|
|
<% if attr["locale"] && attr["markup"] == 'text_field' %>
|
|
|
|
<%= show_user_attribute["#{attr.key}_#{I18n.locale}"] rescue nil %>
|
|
|
|
<% else %>
|
|
|
|
<%= show_user_attribute["#{attr.key}"] rescue nil %>
|
|
|
|
<% end %>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
</table>
|
|
|
|
</fieldset>
|