" 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 %>
- markup<%= f.select :markup, LIST[:markups].keys, {}, {:style => "width:90px"} %>
- markup_value<%= f.text_field :markup_value,:size=>50 %>
- markup_options<%= f.text_field :markup_options,:size=>50 %>
- locale<%= f.check_box :locale,{},true,false %>
- built_in<%= f.check_box :built_in,{},true,false %>
- disabled<%= f.check_box :disabled,{},true,false %>
- add_more<%= f.check_box :add_more,{},true,false %>
- neutral_title<%= f.text_field :neutral_title,:size=>50 %>
- neutral_for<%= f.select :neutral_for, VALID_LOCALES, {}, {:style => "width:90px"} %>
|
<% 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 %>
|