<commit_before><%= dialog_tag('Select Template and Asset Type', {:icon => 'fa fa-download', :class => "header-part"}) do %>
  <%= simple_form_for(:template_proxy, :url => create_template_uploads_url, :method => "post", :html => {:id => 'template_form', :class => 'form-horizontal'}, :wrapper => :horizontal_form, :wrapper_mappings => {:check_boxes => :horizontal_radio_and_checkboxes}) do |f| %>

    <% if current_user.organizations.count > 1 %>
      <%= f.input :organization_id, :collection => current_user.organizations, :label_method => 'coded_name', :required => true %>
    <% end %>

    <%= f.input :file_content_type_id, :collection => FileContentType.active, :include_blank => false, :label => "File Content Type" %>
    <%# Only make available the AssetTypes handled in StatusUpdateFileHandler AND DispositionUpdateFileHandler %>
     <%= f.input :asset_types, :collection => AssetType.all, :label => "Asset Type", :include_blank => false %>
    <div class='col-sm-offset-3 class-sm-9'>
      <%= f.button :submit, 'Download Template', :class => 'btn btn-primary' %>
    </div>
  <% end %>
<% end %>
<commit_msg>[fixes#97969820] fix org select options in create template form<commit_after><%= dialog_tag('Select Template and Asset Type', {:icon => 'fa fa-download', :class => "header-part"}) do %>
  <%= simple_form_for(:template_proxy, :url => create_template_uploads_url, :method => "post", :html => {:id => 'template_form', :class => 'form-horizontal'}, :wrapper => :horizontal_form, :wrapper_mappings => {:check_boxes => :horizontal_radio_and_checkboxes}) do |f| %>

    <% if current_user.organizations.count > 1 %>
      <%= f.input :organization_id, :collection => Organization.where(id: @organization_list), :label_method => 'coded_name', :required => true %>
    <% end %>

    <%= f.input :file_content_type_id, :collection => FileContentType.active, :include_blank => false, :label => "File Content Type" %>
    <%# Only make available the AssetTypes handled in StatusUpdateFileHandler AND DispositionUpdateFileHandler %>
     <%= f.input :asset_types, :collection => AssetType.all, :label => "Asset Type", :include_blank => false %>
    <div class='col-sm-offset-3 class-sm-9'>
      <%= f.button :submit, 'Download Template', :class => 'btn btn-primary' %>
    </div>
  <% end %>
<% end %>

{'fraction_non_alphanumeric': 0.17659758203799655, 'fraction_numerical': 0.006044905008635579, 'mean_word_length': 4.910714285714286, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 71, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2355053', 'n_tokens_mistral': 766, 'n_tokens_neox': 689, 'n_words': 175}