<commit_before><%
   status = Status.new()
%>

<div class="form form-inline">
<%= form_for status do |f| %>
   <%= f.hidden_field :gift_id, :value => @gift.id %>
   <%= f.hidden_field :added_by_user_id, :value => current_user.id %>

   <div class="form-group">
      <div class="input-group input-group">
         <span class="input-group-addon">status</span>
         <%= f.select :status, options_for_select(Status.statuses.collect { |s| [s[0].humanize, s[0]] }, selected: status.status), {}, {:class => "form-control"} %><commit_msg>Removed available from status add dropdown since it confuses people.<commit_after><%
   status = Status.new()
%>

<div class="form form-inline">
<%= form_for status do |f| %>
   <%= f.hidden_field :gift_id, :value => @gift.id %>
   <%= f.hidden_field :added_by_user_id, :value => current_user.id %>

   <div class="form-group">
      <div class="input-group input-group">
         <span class="input-group-addon">status</span>
         <% options = Status.statuses.select{|s| s != 'available' }.map { |s| [s[0].humanize, s[0]] } %>
         <%= f.select :status, options_for_select(options, selected: status.status), {}, {:class => "form-control"} %>
{'fraction_non_alphanumeric': 0.19983136593591905, 'fraction_numerical': 0.003372681281618887, 'mean_word_length': 3.9049586776859506, 'pattern_counts': {'":': 0, '<': 24, '<?xml version=': 0, '>': 30, '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': '3497009', 'n_tokens_mistral': 432, 'n_tokens_neox': 408, 'n_words': 84}