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