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-15 12:35:07 +08:00
1 parent 189fa553c5
commit 9027562450
16 files changed
+231 -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>
@@ -20,6 +20,11 @@
</div>
</div>
<%=render :partial=> @right_partial%>
<div class="member-plugin">
<%= render :partial=> 'plugin_summary'%>
<%= render :partial=> 'plugin_summary'%>
<%= render :partial=> 'plugin_summary'%>
</div>
</div>
<div class="user-info">
<div id="brand" class="clear">