new code for attribute fields and values for new member interface

This commit is contained in:
Matthew K. Fu JuYuan authored and chris committed 2012-10-26 11:19:55 +08:00
1 parent 293dc80ceb
commit 8b9cffd4f2
15 files changed
+226 -116

No files matched your search

@@ -3,9 +3,7 @@
<div class="form-horizontal">
<% info.attribute_fields.each do |af|%>
<div class="control-group">
<%= af.block_helper(@user,@form_index)%>
</div>
<% @form_index = @form_index +1 %>
<% end %>
@@ -1,9 +1,7 @@
<td>
<%= temp_profile.title %>
<% temp_profile.attribute_fields.each do |af|%>
<div class="control-group">
<%= af.block_helper(@user,@form_index)%>
</div>
<% @form_index = @form_index +1 %>
<% end %>
</td>
@@ -8,7 +8,7 @@
<% items.each do |item| %>
<tr>
<td class="span1"><%= item[:name] %></td>
<td><%= item[:value] %></td>
<td><%= show_attribute_value(item[:value]) %></td>
</tr>
<% end -%>
</tbody>