new code for attribute fields and values for new member interface

This commit is contained in:
Matthew K. Fu JuYuan committed 2012-10-12 18:09:02 +08:00
1 parent e16a27601d
commit 1ce7f00084
17 files changed
+226 -118

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>
@@ -18,7 +18,6 @@
</div>
</div>
<div class="member-plugin">
<% #binding.pry%>
<%= render :partial=> 'plugin_summary'%>
<%= render :partial=> 'plugin_summary'%>
<%= render :partial=> 'plugin_summary'%>