<% # encoding: utf-8 %>

<div id="qe-basic" class="qe-edit-div">
	
	<div id="widget-title">
		<%= f.label :key %>
		<%= f.text_field :key %>
	</div>
	<div id="widget-title">
		<%= f.fields_for :title_translations  do |f| %>
		  <% @site_valid_locales.each do |locale| %>
				<div class="control-group">
					<%= label_tag "title-#{locale}", "Title-#{I18nVariable.from_locale(locale)}", :class => 'control-label' %>
					<div class="controls">
						<%= f.text_field locale, :class => 'input-xxlarge', :value => (bulletin_category.title_translations[locale] rescue nil) %>
					</div>
				</div>
		  <% end %>
		<% end %>
	</div>
</div>
