mongoid rc_6 & fix bugs

This commit is contained in:
chris authored and ihower committed 2011-04-13 18:22:49 +08:00
1 parent f347b150cf
commit bda67684bd
11 files changed
+70 -24

No files matched your search

@@ -13,7 +13,7 @@
<%= f.select :markup, LIST[:markups], {}, {:style => "width:90px"} %>
<div <%= attribute_attr_model[:markup].eql?('select') ? nil : "style='display:none'"%>>
<%= t('admin.options') %>:
<%= text_field_tag "user_attribute_model[attribute_attr_models][][select_options]", attribute_attr_model.select_options, :style => "width:130px" %>
<%= text_field_tag "user_attribute_model[attribute_attr_models][][select_list_options]", attribute_attr_model.select_list_options, :style => "width:130px" %>
</div>
</td>
<td>
@@ -23,6 +23,7 @@
<a href="#" class="remove_existing_record">(<%= t(:delete) %>)</a>
<%= hidden_field_tag "user_attribute_model[attribute_attr_models][][should_destroy]", nil , :class => 'should_destroy' %>
<%= f.hidden_field :id %>
<%= f.hidden_field :key %>
<% end %>
</td>
</tr>