% # encoding: utf-8 %> <% data = action_data @seminar = data["seminar"] @time_now = data["time_now"] %> <% if (@seminar.contribute_start_date.nil? || @seminar.contribute_start_date <= @time_now) && (@seminar.contribute_end_date.nil? or @seminar.contribute_end_date+1 >= @time_now ) %> <% flash.each do |key, msg| %> <%= content_tag :p, msg, :class => [key, "alert alert-error in fade"] %> <% end %> <%= @seminar.title %> <%= t('seminar_signup.con_login') %> <%= form_tag con_login_proc_seminars_path, :class => 'content' do %> <%=t('seminar_signup.email_address')%> <%= text_field_tag :user_name, params[:user_name], :placeholder => t('seminar_signup.email_address'), :id=>"user_email" %> <%=t("seminar_signup._password")%> <%= password_field_tag :password, nil, :placeholder => t(:dots), :id=>"user_password" %> "> <%= t('seminar_signup.login') %> <% end %> <% else %> <%= t("seminar.out_of_date") %> <% end %>