<commit_before>h1 New Registry

= form_for @registry, url: admin_registries_path, html: {class: 'form-horizontal', role: 'form'} do |f|
  .form-group
    = f.label :name, {class: 'control-label col-md-2'}
    .col-md-7
      = f.text_field(:name, class: 'form-control', required: true)
  .form-group
    = f.label :hostname, {class: 'control-label col-md-2'}
    .col-md-7
      = f.text_field(:hostname, class: 'form-control', placeholder: 'registry.test.lan', required: true)
  .form-group
    .[class='col-md-offset-2 col-md-7']
      = f.submit('Create', class: 'btn btn-primary')


= link_to 'Back', admin_registries_path<commit_msg>Autofocus on the first text field of the form to create a new registry<commit_after>h1 New Registry

= form_for @registry, url: admin_registries_path, html: {class: 'form-horizontal', role: 'form'} do |f|
  .form-group
    = f.label :name, {class: 'control-label col-md-2'}
    .col-md-7
      = f.text_field(:name, class: 'form-control', required: true, autofocus: true)
  .form-group
    = f.label :hostname, {class: 'control-label col-md-2'}
    .col-md-7
      = f.text_field(:hostname, class: 'form-control', placeholder: 'registry.test.lan', required: true)
  .form-group
    .[class='col-md-offset-2 col-md-7']
      = f.submit('Create', class: 'btn btn-primary')


= link_to 'Back', admin_registries_path
{'fraction_non_alphanumeric': 0.1688888888888889, 'fraction_numerical': 0.01037037037037037, 'mean_word_length': 3.6267123287671232, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3211398', 'n_tokens_mistral': 492, 'n_tokens_neox': 489, 'n_words': 114}