anchor.diff:              <form class="form" method="post" action="alarm/saveJournalMemo.htm">
                   <textarea style="width:100%" name="journalMemoBody" ><%=(alarm.getReductionKeyMemo() != null && alarm.getReductionKeyMemo().getBody() != null) ? alarm.getReductionKeyMemo().getBody() : ""%></textarea>
                   <input type="hidden" name="alarmId" value="<%=alarm.getId()%>"/>
  -                <form:input type="submit" value="Save" />
  -                <form:input type="button" value="Delete" onclick="document.getElementById('deleteJournalForm').submit();"/>
  +                <div class="btn-group btn-group-sm">
  +                <form:input class="btn btn-default" type="submit" value="Save" />
  +                <form:input class="btn btn-default" type="button" value="Delete" onclick="document.getElementById('deleteJournalForm').submit();"/>
  +                </div>
               </form>
               <form id="deleteJournalForm" method="post" action="alarm/removeJournalMemo.htm">
                   <input type="hidden" name="alarmId" value="<%=alarm.getId()%>"/>
  
positive.code: 	         <form class="form" method="post" action="alarm/saveStickyMemo.htm">
  				<textarea style="width:100%" name="stickyMemoBody" ><%=(alarm.getStickyMemo() != null && alarm.getStickyMemo().getBody() != null) ? alarm.getStickyMemo().getBody() : ""%></textarea>
  				<input type="hidden" name="alarmId" value="<%=alarm.getId() %>"/>
  	            <form:input type="submit" value="Save" />
                  <form:input type="button" value="Delete" onclick="document.getElementById('deleteStickyForm').submit();"/>
  	         </form>
  	         <form id="deleteStickyForm" method="post" action="alarm/removeStickyMemo.htm">
  				<input type="hidden" name="alarmId" value="<%=alarm.getId() %>"/>
  
negative.code:                         <option value="<%=clearAction%>">Clear this alarm</option>
                          <% }%>
                      </select>
                      <input class="form-control btn btn-default" type="submit" value="Go"/>
                  </form>
  
          <% } // showEscalate || showClear %>
  
  <% if ("true".equalsIgnoreCase(Vault.getProperty("opennms.alarmTroubleTicketEnabled"))) {%>
  
  </div>
  <div class="col-md-6">
  
  <form class="form-inline" method="post" action="alarm/ticket/create.htm">
      <input type="hidden" name="alarm" value="<%=alarm.getId()%>"/>
      <input type="hidden" name="redirect" value="<%="/alarm/detail.htm" + "?" + request.getQueryString()%>" />
      <form:input class="form-control btn btn-default" type="submit" value="Create Ticket" disabled="${(!empty alarm.TTicketState) && (alarm.TTicketState != 'CREATE_FAILED')}" />
      <%-- Remedy Specific TroubleTicket - Start --%>
      <% if ("org.opennms.netmgt.ticketer.remedy.RemedyTicketerPlugin".equalsIgnoreCase(Vault.getProperty("opennms.ticketer.plugin")) && (alarm.getTTicketState() == null || alarm.getTTicketState().toString().equals("CREATE_FAILED") )) { %>
        <input type="hidden" name="nodelabel" value="<%=alarm.getNodeLabel()%>"/>
        <input class="form-control" type="text" name="remedy.user.comment" value="Add a Comment here"/>
        <select class="form-control" name="remedy.urgency">
          <option value="1-Critical">1-Critical</option>
          <option value="2-High">2-High</option>
          <option value="3-Medium">3-Medium</option>
          <option value="4-Low" selected="selected">4-Low</option>
        </select>
        <select class="form-control" name="remedy.assignedgroup">
          <% String propsFile = new String(Vault.getProperty("opennms.home") + "/etc/remedy.properties");
             Configuration remedyConfig = null;
             try {
               remedyConfig = new PropertiesConfiguration(propsFile);
             } catch (final ConfigurationException e) {}
             for (String group: remedyConfig.getString("remedy.targetgroups").split(":")) { %>
               <option value="<%=group%>"><%=group%></option>
          <% }  %>
        </select>
      <% } %>
      <%-- Remedy Specific TroubleTicket - Start --%>
  </form>
  
  <form class="form-inline" method="post" action="alarm/ticket/update.htm">
      <input type="hidden" name="alarm" value="<%=alarm.getId()%>"/>
      <input type="hidden" name="redirect" value="<%="/alarm/detail.htm" + "?" + request.getQueryString()%>" />
      <form:input class="form-control btn btn-default" type="submit" value="Update Ticket" disabled="${(empty alarm.TTicketId)}"/>
  </form>
  
  <form class="form-inline" method="post" action="alarm/ticket/close.htm">
      <input type="hidden" name="alarm" value="<%=alarm.getId()%>"/>
      <input type="hidden" name="redirect" value="<%="/alarm/detail.htm" + "?" + request.getQueryString()%>" />
      <form:input class="form-control btn btn-default" type="submit" value="Close Ticket" disabled="${(empty alarm.TTicketState) || ((alarm.TTicketState != 'OPEN') && (alarm.TTicketState != 'CLOSE_FAILED')) }" />
  </form>
  
  </div>
  </div>
  <br/>
  
  <% } // alarmTroubleTicketEnabled %>
  <% } // isUserInRole %>
  