anchor.diff:      <%= f.label :contacts %><br>
       <%= f.text_area :contacts , class: "form-control"%>
     </div>
  +  
     <div class="field">
       <%= f.label "In cerca di" %><br>
       <%= f.text_area :lookingfor, class: "form-control" %>
  
positive.code:     </div>
    <% end %>
  
    <div class="field">
      <%= f.select :kind, Page.kinds.keys.to_a, {}, {class: "form-control"} %>
    </div>
    <div class="field">
      <%= f.label :name %><br>
      <%= f.text_field :name , class: "form-control" %>
    </div>
    <div class="field">
      <%= f.label "posizione" %><br>
      <%= f.text_field :location , class: "form-control"%>
    </div>
    <div class="field">
      <%= f.label :coordinates %><br>
      <%= f.text_field :coordinates, class: "form-control" %>
    </div>
    <div class="field">
      <%= f.label :active %><br>
      <%= f.check_box :active, disabled: true %>
    </div>
    <div class="field">
      <%= f.label :links %><br>
      <%= f.text_field :links, class: "form-control" %>
  
negative.code: <% end %>
  
  <script>
    var fields = document.querySelectorAll('textarea');
    for (var i = 0; i < fields.length; ++i) {
      var item = fields[i];
      var simplemde = new SimpleMDE({ element: item });
    }
  </script>
  