user new interface 70%

This commit is contained in:
Matthew K. Fu JuYuan authored and chris committed 2012-10-09 06:40:18 +08:00
1 parent 1aacf5e2ce
commit 9f825de288
20 files changed
+589 -52

No files matched your search

@@ -10,13 +10,15 @@
<% end %>
<td class='select_type'>
<%= f.select :markup, LIST[:markups], {}, {:style => "width:90px"} %>
<div <%= attribute_field[:markup].eql?('select') ? nil : "style='display:none'"%>>
<%= t('admin.options') %>:
<%= f.select "select_list_options", {'1'=>"A",'2'=>"B",'3'=>"C"}, :style => "width:130px" %>
<%#= collection_select(:select_list_options, method, collection, value_method, text_method, options = {}, html_options = {}) %>
<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>
</ul>
</div>
</td>
<td class="action">
<% if attribute_field.new_record? %>