<commit_before><%= form_for( [:admin, @conference], html: {class: 'form-horizontal'} ) do |f| %>
  
  <div class="form-group">
    <%= f.label :name, "Name*", class: "col-lg-2 control-label"%>
    <div class="col-lg-7">
      <%= f.text_field :name, class: "form-control" %>
    </div>
  </div>

  <div class="form-group">
    <%= f.label :'year_id', "Year*", class: "col-lg-2 control-label" %>
    <div class="col-lg-7">
    <%= select_tag "conference[year_id]", options_from_collection_for_select(Year.all, 'id', 'name', @conference.year_id || Year.last.id), class: "form-control"%>
    </div>
  </div>

  <div class="form-group">
    <%= f.label :date, class: "col-lg-2 control-label" %>
    <div class="col-lg-7">
      <div class="input-group">
        <%= f.text_field :date, placeholder: @conference.date, class: "form-control datetimepicker"%>
        <span class="input-group-addon glyphicon glyphicon-calendar"></span>
      </div>
    </div>
  </div>

  <div class="form-group">
    <%= f.label :registration_deadline, class: "col-lg-2 control-label" %>
    <div class="col-lg-7">
      <div class="input-group">
        <%= f.text_field :registration_deadline, placeholder: @conference.date, class: "form-control datetimepicker_deadline"%>
        <span class="input-group-addon glyphicon glyphicon-calendar"></span>
      </div>
    </div>
  </div>

  <div class="form-group">
   <%= f.label :attenders_count, class: "col-lg-2 control-label" %>
    <div class="col-lg-7">
    <%= f.number_field :attenders, min: "1", class: "form-control" %>
    </div>
  </div>

  <div class="form-group">
    <%= f.label :group_event, class: "col-lg-2 col-md-1 col-sm-1 col-xs-1 control-label" %>
    <div class="col-lg-7 col-md-7 col-sm-7 col-xs-7 ">
    <%= check_box_tag :group_event, value: "" %>
    </div>
  </div>

  <div class="form-group">
    <%= f.label "Video", class: "col-lg-2 control-label"%>
    <div class="col-lg-7">
      <%= f.text_field :video, placeholder: 'Insert url with video', class: "form-control" %>
    </div>
  </div> 

  <div class="form-group">
    <%= f.label "Photo", class: "col-lg-2 control-label"%>
    <div class="col-lg-7">
      <%= f.text_field :photo, placeholder: 'Insert url with photo', class: "form-control" %>
    </div>
  </div>

  <%= f.hidden_field :published, value: false %>

  <div class="form-group">
    <div class="col-lg-7 col-lg-offset-2">
      <button type="reset" class="btn btn-default">Reset</button>
      <%= f.submit @button_name, class: "btn btn-primary"%>
    </div>
  </div>

<% end %><commit_msg>reg deadline placeholder conf form<commit_after><%= form_for( [:admin, @conference], html: {class: 'form-horizontal'} ) do |f| %>
  
  <div class="form-group">
    <%= f.label :name, "Name*", class: "col-lg-2 control-label"%>
    <div class="col-lg-7">
      <%= f.text_field :name, class: "form-control" %>
    </div>
  </div>

  <div class="form-group">
    <%= f.label :'year_id', "Year*", class: "col-lg-2 control-label" %>
    <div class="col-lg-7">
    <%= select_tag "conference[year_id]", options_from_collection_for_select(Year.all, 'id', 'name', @conference.year_id || Year.last.id), class: "form-control"%>
    </div>
  </div>

  <div class="form-group">
    <%= f.label :date, class: "col-lg-2 control-label" %>
    <div class="col-lg-7">
      <div class="input-group">
        <%= f.text_field :date, placeholder: @conference.date, class: "form-control datetimepicker"%>
        <span class="input-group-addon glyphicon glyphicon-calendar"></span>
      </div>
    </div>
  </div>

  <div class="form-group">
    <%= f.label :registration_deadline, class: "col-lg-2 control-label" %>
    <div class="col-lg-7">
      <div class="input-group">
        <%= f.text_field :registration_deadline, placeholder: @conference.registration_deadline, class: "form-control datetimepicker_deadline"%>
        <span class="input-group-addon glyphicon glyphicon-calendar"></span>
      </div>
    </div>
  </div>

  <div class="form-group">
   <%= f.label :attenders_count, class: "col-lg-2 control-label" %>
    <div class="col-lg-7">
    <%= f.number_field :attenders, min: "1", class: "form-control" %>
    </div>
  </div>

  <div class="form-group">
    <%= f.label :group_event, class: "col-lg-2 col-md-1 col-sm-1 col-xs-1 control-label" %>
    <div class="col-lg-7 col-md-7 col-sm-7 col-xs-7 ">
    <%= check_box_tag :group_event, value: "" %>
    </div>
  </div>

  <div class="form-group">
    <%= f.label "Video", class: "col-lg-2 control-label"%>
    <div class="col-lg-7">
      <%= f.text_field :video, placeholder: 'Insert url with video', class: "form-control" %>
    </div>
  </div> 

  <div class="form-group">
    <%= f.label "Photo", class: "col-lg-2 control-label"%>
    <div class="col-lg-7">
      <%= f.text_field :photo, placeholder: 'Insert url with photo', class: "form-control" %>
    </div>
  </div>

  <%= f.hidden_field :published, value: false %>

  <div class="form-group">
    <div class="col-lg-7 col-lg-offset-2">
      <button type="reset" class="btn btn-default">Reset</button>
      <%= f.submit @button_name, class: "btn btn-primary"%>
    </div>
  </div>

<% end %>
{'fraction_non_alphanumeric': 0.21091331269349844, 'fraction_numerical': 0.009674922600619196, 'mean_word_length': 3.2127139364303177, 'pattern_counts': {'":': 0, '<': 135, '<?xml version=': 0, '>': 135, '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': '4728052', 'n_tokens_mistral': 1994, 'n_tokens_neox': 1907, 'n_words': 392}