<commit_before>Formbuilder.registerField 'hidden_field',

  order: 10

  type: 'non_input'

  view: """
    <label>Hidden Field:</label>
    <pre><code><%= _.escape(rf.get(Formbuilder.options.mappings.DESCRIPTION)) %></code></pre>
  """

  edit: """
    <div class='fb-edit-section-header'>Data</div>
    <textarea data-rv-input='model.<%= Formbuilder.options.mappings.DESCRIPTION %>'
      placeholder='Add some data to this hidden field'></textarea>
  """

  addButton: """
    <span class='symbol'><span class='fa fa-code'></span></span> Hidden Field
  """

  defaultAttributes: (attrs) ->
    _.pathAssign(attrs, Formbuilder.options.mappings.LABEL, 'Hidden Field')

    attrs
<commit_msg>add a Label to hidden_field<commit_after>Formbuilder.registerField 'hidden_field',

  order: 10

  type: 'non_input'

  view: """
    <label class='section-name'><%= rf.get(Formbuilder.options.mappings.LABEL) %></label>
    <pre><code><%= _.escape(rf.get(Formbuilder.options.mappings.DESCRIPTION)) %></code></pre>
  """

  edit: """
    <div class='fb-edit-section-header'>Label</div>
    <input type='text' data-rv-input='model.<%= Formbuilder.options.mappings.LABEL %>' />
    <div class='fb-edit-section-header'>Data</div>
    <textarea data-rv-input='model.<%= Formbuilder.options.mappings.DESCRIPTION %>'
      placeholder='Add some data to this hidden field'></textarea>
  """

  addButton: """
    <span class='symbol'><span class='fa fa-code'></span></span> Hidden Field
  """

  defaultAttributes: (attrs) ->
    _.pathAssign(attrs, Formbuilder.options.mappings.LABEL, 'Hidden Field')

    attrs

{'fraction_non_alphanumeric': 0.18722604884157795, 'fraction_numerical': 0.002504696305572949, 'mean_word_length': 4.2052117263843645, 'pattern_counts': {'":': 0, '<': 40, '<?xml version=': 0, '>': 42, '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': '657666', 'n_tokens_mistral': 537, 'n_tokens_neox': 510, 'n_words': 90}