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.
|
<% @user_attributes.each do |ua| %>
|
|
<h3><%= ua.name %></h3>
|
|
|
|
<% ua.attrs.each do |attr| %>
|
|
<p>
|
|
<%= f.label attr["name"] %>
|
|
<%= f.send(attr["type"], "#{ua.key}_#{attr["key"]}" )%>
|
|
</p>
|
|
<% end -%>
|
|
<% end -%>
|
|
|
|
<p>
|
|
<%= f.label :email %>
|
|
<%= f.text_field :email %>
|
|
</p> |