<commit_before>#welcome_page.sixteen.columns.alpha{ ng: { app: "admin.welcome", controller: 'welcomeCtrl' } }
  %header
    %h1 Welcome to the Open Food Network!
    %p
      You have successfully created a
      %strong
        = "#{"producer " if @enterprise.is_primary_producer}profile"

    %section
      %h2 Next step
      %p Choose one:

  = form_for @enterprise, url: main_app.set_sells_admin_enterprise_path(@enterprise), novalidate: true do |enterprise_form|
    -# Have to use hidden:'true' on this input rather than type:'hidden' as the latter seems to break ngPattern and therefore validation
    %input{ hidden: "true", id: "sells", name: "sells", ng: { required: true, pattern: "/^(none|own)$/", model: 'sells', value: "sells"} }
    .options.sixteen.columns.alpha
      - if @enterprise.is_primary_producer
        .basic_producer.option.one-third.column.alpha
          %a.full-width.button.selector{ ng: { click: "sells='none'", class: "{selected: sells=='none'}" } }
            .top
              %h3 Producer Profile
              %p Connect through OFN
            .bottom ALWAYS FREE
          %p.description
            You want to use Open Food Network as a place for people to find and contact you.

        .producer_shop.option.one-third.column
          %a.full-width.button.selector{ ng: { click: "sells='own'", class: "{selected: sells=='own'}" } }
            .top
              %h3 Sell products
              %p As a supplier
            .bottom ALWAYS FREE
          %p.description
            Add your products to Open Food Network, allowing customers to see your product range, and allowing you to act as a supplier to other shopfronts.

        .full_hub.option.one-third.column.omega.disabled
          %a.full-width.button.selector
            .top
              %h3 Sell products
              %p Through an OFN shopfront
            .bottom 30 DAY TRIAL<commit_msg>Fixing form on welcome page<commit_after>#welcome_page.sixteen.columns.alpha{ ng: { app: "admin.welcome", controller: 'welcomeCtrl' } }
  %header
    %h1 Welcome to the Open Food Network!
    %p
      You have successfully created a
      %strong
        = "#{"producer " if @enterprise.is_primary_producer}profile"

    %section
      %h2 Next step
      %p Choose one:

  = form_for @enterprise, url: main_app.set_sells_admin_enterprise_path(@enterprise), html: { name: "enterprise", novalidate: true } do |enterprise_form|
    -# Have to use hidden:'true' on this input rather than type:'hidden' as the latter seems to break ngPattern and therefore validation
    %input{ hidden: "true", id: "sells", name: "sells", ng: { required: true, pattern: "/^(none|own)$/", model: 'sells', value: "sells"} }
    .options.sixteen.columns.alpha
      - if @enterprise.is_primary_producer
        .basic_producer.option.one-third.column.alpha
          %a.full-width.button.selector{ ng: { click: "sells='none'", class: "{selected: sells=='none'}" } }
            .top
              %h3 Producer Profile
              %p Connect through OFN
            .bottom ALWAYS FREE
          %p.description
            You want to use Open Food Network as a place for people to find and contact you.

        .producer_shop.option.one-third.column
          %a.full-width.button.selector{ ng: { click: "sells='own'", class: "{selected: sells=='own'}" } }
            .top
              %h3 Sell products
              %p As a supplier
            .bottom ALWAYS FREE
          %p.description
            Add your products to Open Food Network, allowing customers to see your product range, and allowing you to act as a supplier to other shopfronts.

        .full_hub.option.one-third.column.omega.disabled
          %a.full-width.button.selector
            .top
              %h3 Sell products
              %p Through an OFN shopfront
            .bottom 30 DAY TRIAL
{'fraction_non_alphanumeric': 0.10595854922279793, 'fraction_numerical': 0.003626943005181347, 'mean_word_length': 2.3632404181184667, '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': '3130974', 'n_tokens_mistral': 1134, 'n_tokens_neox': 1105, 'n_words': 356}