<commit_before><%= render 'backend/shared/form/header', form: form,
  inputs: [{value: :title, title_placeholder: 'Video title'}],
  preview_url: form.object.id && main_app.resource_path(form.object) %>

<div class="fields">
  <%= render 'backend/shared/form/field_select', form: form,
    value: :album_id, collection: video_collections,
    include_blank: true, label_txt: "Video collection", input_as: :select,
    note_txt: '(Choose the collection to which it belongs)' %>

  <%= render 'backend/shared/form/field_input', form: form, value: :external_url,
  label_txt: "Video embed URL" %>

  <%= render 'backend/shared/form/field_textarea', form: form, value: :description %>

  <%= render 'backend/shared/form/field_input', form: form, value: :author %>

  <%= render 'backend/shared/form/field_input', form: form, value: :licence %>

  <%= render 'backend/shared/form/field_datepicker', form: form,
    value: :publication_date %>

  <%= render 'backend/shared/form/field_tags', form: form, collection: tags %>

  <%= render 'backend/shared/form/field_association', form: form,
    value: :activities, collection: activities, label_method: :title,
    js_trigger_class: 'js-select-tags',
    note_txt: '(Choose related activities)' %>

  <%= render 'backend/shared/form/field_association', form: form,
    value: :publications, collection: publications, label_method: :title,
    js_trigger_class: 'js-select-tags',
    note_txt: '(Choose related publications)' %>
<commit_msg>Adds note about video format<commit_after><%= render 'backend/shared/form/header', form: form,
  inputs: [{value: :title, title_placeholder: 'Video title'}],
  preview_url: form.object.id && main_app.resource_path(form.object) %>

<div class="fields">
  <%= render 'backend/shared/form/field_select', form: form,
    value: :album_id, collection: video_collections,
    include_blank: true, label_txt: "Video collection", input_as: :select,
    note_txt: '(Choose the collection to which it belongs)' %>

  <%= render 'backend/shared/form/field_input', form: form, value: :external_url,
    label_txt: "Video embed URL",
    note_txt: "E.g.: Youtube: https://www.youtube.com/watch?v=mw44Ivan1dw ; Vimeo: https://vimeo.com/208123882" %>

  <%= render 'backend/shared/form/field_textarea', form: form, value: :description %>

  <%= render 'backend/shared/form/field_input', form: form, value: :author %>

  <%= render 'backend/shared/form/field_input', form: form, value: :licence %>

  <%= render 'backend/shared/form/field_datepicker', form: form,
    value: :publication_date %>

  <%= render 'backend/shared/form/field_tags', form: form, collection: tags %>

  <%= render 'backend/shared/form/field_association', form: form,
    value: :activities, collection: activities, label_method: :title,
    js_trigger_class: 'js-select-tags',
    note_txt: '(Choose related activities)' %>

  <%= render 'backend/shared/form/field_association', form: form,
    value: :publications, collection: publications, label_method: :title,
    js_trigger_class: 'js-select-tags',
    note_txt: '(Choose related publications)' %>

{'fraction_non_alphanumeric': 0.1565526145900581, 'fraction_numerical': 0.003873466752743706, 'mean_word_length': 5.04093567251462, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, 'https://': 2, 'lorem ipsum': 0, 'www.': 1, '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': '5555558', 'n_tokens_mistral': 1044, 'n_tokens_neox': 968, 'n_words': 232}