<commit_before><p>
  <%= @event.open_text %>
  <% if admin? %>
    <%= link_to "Edit", edit_manage_event_path(@event), :class => :editable %>
  <% end %>
</p>

<div id="proposal-form" class="standard-form">
  <% form_for([@event, @proposal]) do |f| %>
    <table>
      <% unless error_messages_for(:proposal).blank? %>
        <thead>
          <tr>
            <td colspan="2">
              <%= error_messages_for :proposal %>
            </td>
          </tr>
        </thead>
      <% end %>
      <tbody>
<% if @proposal.new_record? and not logged_in? %>
        <tr>
          <td colspan="2">
            <h4>Login with OpenID</h4>
            <p><%= snippet_for :proposals_openid_text %></p>
          </td>
        </tr>
        <tr>
          <td class="label-cell">
            <%= image_tag "openid-icon.gif" %>
            OpenID
          </td>
          <td>
            <%= text_field_tag :openid_url, "" %>
            <%= submit_tag "Login", :id => "openid_login" %>
            <!-- BEGIN ID SELECTOR -->
            <script type="text/javascript">
              <!--
                  // Tell ID Selector which controls to affect
                  var idselector_input_id = "openid_url";
                  var idselector_target_id = "openid_login_wtf";
                -->
            </script>
            <%= javascript_include_tag "idselector" %>
            <!-- END ID SELECTOR -->
          </td>
        </tr>
<% end %>
<% if not user_profiles? and not multiple_presenters? %>
        <tr>
          <td colspan="2">
            <h4>About you</h4>
          </td>
        </tr>
        <tr>
          <td class="label-cell"><%= required_field %><%= f.label :presenter, "Name" %></td>
          <td><%= f.text_field :presenter %></td>
        </tr>
        <tr>
          <td class="label-cell"><%= private_field %><%= required_field %><%= f.label :email, "Email" %></td>
          <td><%= f.text_field :email %></td>
        </tr>
        <tr>
          <td class="label-cell"><%= f.label :affiliation, "Affiliation" %></td>
          <td><%= f.text_field :affiliation %></td>
        </tr>
        <tr>
          <td class="label-cell"><%= f.label :website, "Website" %></td>
          <td><%= f.text_field :website %></td>
        </tr>
        <tr>
          <td class="label-cell"><%= required_field %><%= f.label :biography, "Biography" %></td>
          <td><%= f.text_area :biography, :rows => 5 %></td>
        </tr>
<% else %>
        <tr>
          <td colspan="2">
            <h4>About the speakers</h4>
          </td>
        </tr>
        <tr>
          <td class="label-cell">
          </td>
          <td>
            # TODO widgets for adding, deleting and selecting users
            # TODO mechanism for inviting users
          </td>
        </tr>
<% end %>
        <tr>
          <td colspan="2">
            <h4>
<% if multiple_presenters? %>
              About this presentation
<% else %>
              About your presentation
<% end %>
            </h4>
          </td>
        </tr>
        <tr>
          <td class="label-cell"><%= required_field %><%= f.label :title, "Title" %></td>
          <td><%= f.text_field :title %></td>
        </tr>
<% if event_tracks? %>
          <tr>
            <td class="label-cell"><%= f.label :track_id, "Track" %></td>
            <td><%= f.collection_select :track_id, @event.tracks.find(:all), :id, :title, :prompt => true, :include_blank => "- None -" %></td>
          </tr>
<% end %>
<% if proposal_excerpts? %>
          <tr>
            <td class="label-cell"><%= required_field %><%= f.label :excerpt, "Excerpt" %></td>
            <td><%= f.text_area :excerpt, :rows => 2 %></td><commit_msg>Fixed proposals#form track selector so that there's no prompt and blank, but just blank.<commit_after><p>
  <%= @event.open_text %>
  <% if admin? %>
    <%= link_to "Edit", edit_manage_event_path(@event), :class => :editable %>
  <% end %>
</p>

<div id="proposal-form" class="standard-form">
  <% form_for([@event, @proposal]) do |f| %>
    <table>
      <% unless error_messages_for(:proposal).blank? %>
        <thead>
          <tr>
            <td colspan="2">
              <%= error_messages_for :proposal %>
            </td>
          </tr>
        </thead>
      <% end %>
      <tbody>
<% if @proposal.new_record? and not logged_in? %>
        <tr>
          <td colspan="2">
            <h4>Login with OpenID</h4>
            <p><%= snippet_for :proposals_openid_text %></p>
          </td>
        </tr>
        <tr>
          <td class="label-cell">
            <%= image_tag "openid-icon.gif" %>
            OpenID
          </td>
          <td>
            <%= text_field_tag :openid_url, "" %>
            <%= submit_tag "Login", :id => "openid_login" %>
            <!-- BEGIN ID SELECTOR -->
            <script type="text/javascript">
              <!--
                  // Tell ID Selector which controls to affect
                  var idselector_input_id = "openid_url";
                  var idselector_target_id = "openid_login_wtf";
                -->
            </script>
            <%= javascript_include_tag "idselector" %>
            <!-- END ID SELECTOR -->
          </td>
        </tr>
<% end %>
<% if not user_profiles? and not multiple_presenters? %>
        <tr>
          <td colspan="2">
            <h4>About you</h4>
          </td>
        </tr>
        <tr>
          <td class="label-cell"><%= required_field %><%= f.label :presenter, "Name" %></td>
          <td><%= f.text_field :presenter %></td>
        </tr>
        <tr>
          <td class="label-cell"><%= private_field %><%= required_field %><%= f.label :email, "Email" %></td>
          <td><%= f.text_field :email %></td>
        </tr>
        <tr>
          <td class="label-cell"><%= f.label :affiliation, "Affiliation" %></td>
          <td><%= f.text_field :affiliation %></td>
        </tr>
        <tr>
          <td class="label-cell"><%= f.label :website, "Website" %></td>
          <td><%= f.text_field :website %></td>
        </tr>
        <tr>
          <td class="label-cell"><%= required_field %><%= f.label :biography, "Biography" %></td>
          <td><%= f.text_area :biography, :rows => 5 %></td>
        </tr>
<% else %>
        <tr>
          <td colspan="2">
            <h4>About the speakers</h4>
          </td>
        </tr>
        <tr>
          <td class="label-cell">
          </td>
          <td>
            # TODO widgets for adding, deleting and selecting users
            # TODO mechanism for inviting users
          </td>
        </tr>
<% end %>
        <tr>
          <td colspan="2">
            <h4>
<% if multiple_presenters? %>
              About this presentation
<% else %>
              About your presentation
<% end %>
            </h4>
          </td>
        </tr>
        <tr>
          <td class="label-cell"><%= required_field %><%= f.label :title, "Title" %></td>
          <td><%= f.text_field :title %></td>
        </tr>
<% if event_tracks? %>
          <tr>
            <td class="label-cell"><%= f.label :track_id, "Track" %></td>
            <td><%= f.collection_select :track_id, @event.tracks.find(:all), :id, :title, :include_blank => "- None -" %></td>
          </tr>
<% end %>
<% if proposal_excerpts? %>
          <tr>
            <td class="label-cell"><%= required_field %><%= f.label :excerpt, "Excerpt" %></td>
            <td><%= f.text_area :excerpt, :rows => 2 %></td>
{'fraction_non_alphanumeric': 0.18926174496644296, 'fraction_numerical': 0.004026845637583893, 'mean_word_length': 1.6272919605077574, 'pattern_counts': {'":': 0, '<': 297, '<?xml version=': 0, '>': 308, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7569159', 'n_tokens_mistral': 2566, 'n_tokens_neox': 2365, 'n_words': 544}