anchor.diff:          <%= f.text_field :object %>
         </span>
   
  -
         <div class="accordion" id="accordion1">
           <div class="accordion-group">
             <div class="accordion-heading">
  -
  -
  -
  -
  -<a class="expand" data-toggle="collapse" data-parent="#accordion1" href="#moreoptions">
  -  
  -   
  -    <span id="accordion-togglerer" class="showMore accordion-toggle" data-toggle="collapse" data-parent="#accordion1" href="#moreoptions" title="Add advanced rule">
  -      Add advanced rule
  -    </span>
  -</a>
  -
  -
  -
  -
  -
  +            <a class="expand" data-toggle="collapse" data-parent="#accordion1" href="#moreoptions">
  +            <span id="accordion-togglerer" class="showMore accordion-toggle" data-toggle="collapse" data-parent="#accordion1" href="#moreoptions" title="Add advanced rule">Add advanced rule</span>
  +            </a>
             </div>
             <div id="moreoptions" class="accordion-body collapse">
               <div class="accordion-inner">
  -              <%= f.label :xml, 'XACML' %>
  +              <%= f.label :xml, 'XACML rule' %>
                 <%= f.text_area :xml, :rows =>6 %>
               </div>
             </div>
  
positive.code:   $("#accordion-togglerer").click(function(e){
  
      if($("#accordion-togglerer").attr("title")==="Add advanced rule"){
        $("#accordion-togglerer").html("Add standar rule");
        $("#accordion-togglerer").attr("title", "Add standar rule");
        $( "#first-option" ).hide();
      }
      else{
  
negative.code:       <%= f.submit %>
      </div>
    <% end %>
  </div>