<commit_before>.row
  .col-md-12
    .page-header
      %h1
        - if @lodging.new_record?
          New
        Lodging
        = @lodging.name
.row
  .col-md-8
    = semantic_form_for(@lodging, url: (@lodging.new_record? ? admin_conference_lodgings_path : admin_conference_lodging_path(@conference.short_title, @lodging))) do |f|
      = f.input :name, input_html: { autofocus: true}
      = f.input :website_link
      = f.input :description, input_html: { rows: 5, cols: 20, data: { provide: 'markdown-editable' } }, hint: markdown_hint
      - if @lodging.picture?
        = image_tag @lodging.picture.thumb.url
      = f.input :picture
      %p.text-right
        = f.action :submit, as: :button, button_html: { class: 'btn btn-primary' }
<commit_msg>Specify url input type for client-side validation<commit_after>.row
  .col-md-12
    .page-header
      %h1
        - if @lodging.new_record?
          New
        Lodging
        = @lodging.name
.row
  .col-md-8
    = semantic_form_for(@lodging, url: (@lodging.new_record? ? admin_conference_lodgings_path : admin_conference_lodging_path(@conference.short_title, @lodging))) do |f|
      = f.input :name, input_html: { autofocus: true}
      = f.input :website_link, input_html: { type: :url }
      = f.input :description, input_html: { rows: 5, cols: 20, data: { provide: 'markdown-editable' } }, hint: markdown_hint
      - if @lodging.picture?
        = image_tag @lodging.picture.thumb.url
      = f.input :picture
      %p.text-right
        = f.action :submit, as: :button, button_html: { class: 'btn btn-primary' }

{'fraction_non_alphanumeric': 0.13320707070707072, 'fraction_numerical': 0.008838383838383838, 'mean_word_length': 2.7470449172576834, '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': '6527053', 'n_tokens_mistral': 589, 'n_tokens_neox': 556, 'n_words': 115}