anchor.diff:  
     });
   
  -  /*
  -  $('.req_chooser').on("change", function () {
  -    alert("requirement template " + this.value + " was chosen.  Proceed to next action with requirement filled in.");
  -  });*/
     $('#requirements_template_form').on('submit', function(e){
       var selected = $('input[name=requirement_id]:checked', '#requirements_template_form').val();
       if(selected == undefined){
  
positive.code:         <% end %>
        </ul>
        <div style="clear:both"></div>
        <%= submit_tag('Next -->', id: 'next') %>
      <% end %>
    <% else %>
      No results were found for your search terms, please modify your search terms to show results.
  
negative.code:   });
  
    $('#dialog').dialog({
        width: 400,
        height: 100,
        modal: true,
        closeOnEscape: true,
        draggable: true,
        resizable: false,
        title: "Please Select a Template ",
        show: {
          effect: "blind",
          duration: 1000
        },
        hide: {
          effect: "toggle",
          duration: 1000
        },
        open: function()
        {
          $("#dialog").dialog("open");
        },
        close: function() {
          $('#dialog').dialog("close");
        }
    });
  </script>