18 lines
521 B
Plaintext
18 lines
521 B
Plaintext
<fieldset>
|
|
<legend><%= am.i18n_variable[I18n.locale] %></legend>
|
|
<table>
|
|
<% am.attribute_models.each do |attr| %>
|
|
<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>
|