" class="list_item">
<%= attribute_field.new_record? ? (f.text_field :key) : attribute_field.key %> |
<%= f.check_box :locale %>
|
<%= f.fields_for :title_translations do |f| %>
<% @site_valid_locales.each do |locale| %>
<%= f.text_field locale, :style => "width:130px", :value => (attribute_field.title_translations[locale] rescue nil) %> |
<% end %>
<% end %>
<%= f.select :markup, LIST[:markups], {}, {:style => "width:90px"} %>
>
<%= 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 = {}) %>
|
<% if attribute_field.new_record? %>
<%= t(:delete) %>
<% else %>
<%= f.hidden_field :id %>
<% if attribute_field.is_built_in? %>
<%= f.hidden_field :disabled, :value => attribute_field.is_disabled? , :class => 'built_in_state' %>
<% else %>
<%= t(:delete) %>
<%= f.hidden_field :_destroy, :value => nil, :class => 'should_destroy' %>
<% end %>
<% end %>
|