<div id="qe-basic" class="qe-edit-div">
	<div id="widget-category">
		<div class="control-group">
			<label class="control-label"><%= t(:category) %></label>
			<div class="controls">
				<%= f.select :news_bulletin_category_id, @news_bulletin_categories.collect {|t| [ t.title, t.id ]}, {}, :class => 'input-large' %>
			</div>
		</div>
	</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}", "#{t(:title)}-#{I18nVariable.from_locale(locale)}", :class => 'control-label' %>
					<div class="controls">
						<%= f.text_field locale, :class => 'input-xxlarge', :value => (news_bulletin.title_translations[locale] rescue nil) %>
					</div>
				</div>
		  <% end %>
		<% end %>
	</div>
	
	<div id="widget-date">
		<div class="control-group">
			<label class="control-label"><%= t(:start) %></label>
			<div class="controls">
				<%= f.date_select :postdate, { :use_month_numbers => true, :order => [:day, :month, :year] }, :class => 'input-small' %>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label"><%= t(:end) %></label>
			<div class="controls">
				<%= f.date_select :deadline, { :use_month_numbers => true, :prompt => { :month => 'Month', :day => 'Day', :year => 'Year'}, :order => [:day, :month, :year] }, :class => 'input-small' %>
			</div>
		</div>
	</div>
	<% if news_show_form_status_field(@news_bulletin)%>
		<div id="widget-status">
			<div class="control-group">
				<label class="control-label"><%= t(:status) %></label>
				<div class="controls">
					<label class="checkbox inline"><%= f.check_box :is_hot %><%= t('news_bulletin.hot') %></label>
					<label class="checkbox inline"><%= f.check_box :is_top %><%= t(:top) %></label>
					<label class="checkbox inline"><%= f.check_box :is_hidden %><%= t(:hidden) %></label>
				</div>
			</div>
		</div>
	<% end -%>
	
	<!-- <div id="widget-role">
		<div class="control-group">
			<label class="control-label">Role</label>
			<div class="controls">
				<label class="radio inline"><%= f.radio_button :public, true, :class => 'privacy' %>Public</label>
				<label class="radio inline"><%= f.radio_button :public, false, :class => 'privacy' %>Private</label>
				<div class="well select-role" style="display:<%= news_bulletin.public ? 'none' : 'block' %>;">
					<label class="checkbox inline"><input type="checkbox" value="student">Student</label>
					<label class="checkbox inline"><input type="checkbox" value="teacher">Teacher</label>
					<label class="checkbox inline"><input type="checkbox" value="staff">Staff</label>
				</div>
			</div>
		</div>
	</div> -->
</div>
