<commit_before>extends layout

block scripts
  script(src='/js/create.js')

block content
  h1.center Create a rule

  form
    div.container-fluid.well
      div.row.form-group
        div.col-md-3
         label(for='name') Name

        div.col-md-9
         input.form-control(type='text' id='name')

      div.row.form-group
        div.col-md-3
          label When?

        div.col-md-9
          ul#triggers-container.container-fluid
          button.btn.btn-default.add-new-trigger.placeholder(type='button', data-toggle='modal', data-target='#trigger-channel-select') Add new condition

  div.modal.fade(aria-hidden='true', role='dialog', aria-labelled-by='trigger-channel-select-title')#trigger-channel-select
    div.modal-dialog
      div.modal-content
        div.modal-header
          button.close(type='button', data-dismiss='modal', aria-label='Close')
            span(aria-hidden='true') ×
          h4.modal-title#trigger-channel-select-title Select a channel

        div.modal-body
          div.container-fluid#trigger-channel-select-container

  div#triggers-placeholder
<commit_msg>create: simplify UI<commit_after>extends layout

block scripts
  script(src='/js/create.js')

block content
  h1.center Create a rule

  form.form-horizontal.container-fluid.well
    div.form-group
      div.col-md-3
        label(for='name') Name

      div.col-md-9
        input.form-control(type='text' id='name')

    div.form-group
      div.col-md-3
        label When?

      div.col-md-9
        ul#triggers-container.container-fluid
        button.btn.btn-default.add-new-trigger.placeholder(type='button', data-toggle='modal', data-target='#trigger-channel-select') Add new condition

  div.modal.fade(aria-hidden='true', role='dialog', aria-labelled-by='trigger-channel-select-title')#trigger-channel-select
    div.modal-dialog
      div.modal-content
        div.modal-header
          button.close(type='button', data-dismiss='modal', aria-label='Close')
            span(aria-hidden='true') ×
          h4.modal-title#trigger-channel-select-title Select a channel

        div.modal-body
          div.container-fluid#trigger-channel-select-container

  div#triggers-placeholder

{'fraction_non_alphanumeric': 0.1338475499092559, 'fraction_numerical': 0.0054446460980036296, 'mean_word_length': 2.7246621621621623, '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': '6493655', 'n_tokens_mistral': 694, 'n_tokens_neox': 666, 'n_words': 101}