<% 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.no_change')%> <%= I18n.t('event.edit_data')%> <%= f.hidden_field :edit_date_action, :value => "none" %>
<% 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 %>