new code for attribute fields and values for new member interface
This commit is contained in:
1 parent
e16a27601d
commit
1ce7f00084
17 files changed
+226
-118
No files matched your search
@@ -11,10 +11,18 @@
|
||||
<td class='select_type'>
|
||||
|
||||
<ul>
|
||||
<li><%= f.select :markup, LIST[:markups], {}, {:style => "width:90px"} %> </li>
|
||||
<li><%= f.check_box :locale %><%= label_tag "Locale" %> </li>
|
||||
<li><%= attribute_field[:markup].eql?('select') ? nil : "style='display:none'"%> </li>
|
||||
<li><%= t('admin.options') %>: <%= f.text_field :markup_value%></li>
|
||||
<li>markup<%= f.select :markup, LIST[:markups].keys, {}, {:style => "width:90px"} %> </li>
|
||||
<li>markup_value<%= f.text_field :markup_value,:size=>50 %></li>
|
||||
<li>markup_options<%= f.text_field :markup_options,:size=>50 %></li>
|
||||
<li>locale<%= f.check_box :locale,{},true,false %></li>
|
||||
<li>built_in<%= f.check_box :built_in,{},true,false %></li>
|
||||
<li>disabled<%= f.check_box :disabled,{},true,false %></li>
|
||||
<li>add_more<%= f.check_box :add_more,{},true,false %></li>
|
||||
<li>neutral_title<%= f.text_field :neutral_title,:size=>50 %></li>
|
||||
<!--
|
||||
<li><%#= attribute_field[:markup].eql?('select') ? nil : "style='display:none'"%> </li>
|
||||
<li><%#= t('admin.options') %>: <%#= f.text_field :markup_value%></li>
|
||||
-->
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
@@ -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'%>
|
||||
|
||||
Reference in new issue
Block a user