" class="list_item">
<%= attribute_field.new_record? ? (f.text_field :key) : attribute_field.key %> |
<%= f.check_box :locale %>
|
<%= f.fields_for :i18n_variable, (attribute_field.i18n_variable.nil? ? attribute_field.build_i18n_variable : attribute_field.i18n_variable) do |f| %>
<% @site_valid_locales.each do |locale| %>
<%= f.text_field locale, :style => "width:130px" %> |
<% end %>
<%= f.hidden_field :id %>
<% end %>
<%= f.select :markup, LIST[:markups], {}, {:style => "width:90px"} %>
>
<%= t('admin.options') %>:
<%= f.select "select_list_options", attribute_field.select_list_options, :style => "width:130px" %>
|
<% 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 %>
|