% selected = rand(@files.length) %>
<%= hidden_field "event","image",:value => "", :name => "event[default_logo]" %>
<%=t('event.new.basic') %>
<%= f.text_field :name, :size =>25 %>
<%=f.text_area :description, :rows => 14 %>
<%= f.text_field :location, :size =>25 %>
<%=t('event.new.date') %>
<%if params[:action].eql?("edit") %>
<%= I18n.t('event.move.change_date').html_safe%>
<%= I18n.t('event.move.change_event_start_date_div').html_safe%>
<%= f.datetime_select :start_date, {:start_year => Time.zone.now.year, :disabled => true, :minute_step => Agenda::SLOT_VALUES[1], :default => Agenda.next_time_slot_for_drop_down} %>
<%=
#I18n.localize(@event.end_date)
%>
<%= f.datetime_select :end_date, {:start_year => Time.zone.now.year, :disabled => true, :minute_step => Agenda::SLOT_VALUES[1], :default => Agenda.next_time_slot_for_drop_down + 2.hours} %>
<% else %>
<%= f.datetime_select :start_date, {:start_year => Time.zone.now.year, :minute_step => Agenda::SLOT_VALUES[1], :default => Agenda.next_time_slot_for_drop_down} %>
<%= f.datetime_select :end_date, {:start_year => Time.zone.now.year, :minute_step => Agenda::SLOT_VALUES[1], :default => Agenda.next_time_slot_for_drop_down + 2.hours} %>
<% end %>