|  | @@ -13,19 +13,22 @@ display: none;
 | 
	
		
			
				|  |  |  <div class="content-container content">
 | 
	
		
			
				|  |  |  <article>
 | 
	
		
			
				|  |  |  <h3>Qualification Types</h3>
 | 
	
		
			
				|  |  | -<div><a href="#" id="a_add_type">Add qualification type</a></div>
 | 
	
		
			
				|  |  | +<div><button type="button" id="btn_add_type" value="Add qualification type">
 | 
	
		
			
				|  |  | +{{ icons.add_svg(s_label="add qualification type") }}
 | 
	
		
			
				|  |  | +Add qualification type
 | 
	
		
			
				|  |  | +</button></div>
 | 
	
		
			
				|  |  |  {% if qualification_types %}
 | 
	
		
			
				|  |  |  <div class="table-container">
 | 
	
		
			
				|  |  |  <table id="tbl_types" class="data-table">
 | 
	
		
			
				|  |  |  <thead>
 | 
	
		
			
				|  |  |  <tr>
 | 
	
		
			
				|  |  | -<th>Qualification type</th><th style="font-size: smaller;">(actions)</th>
 | 
	
		
			
				|  |  | +<th>Qualification type</th><th style="font-size: smaller;">Actions</th>
 | 
	
		
			
				|  |  |  </tr>
 | 
	
		
			
				|  |  |  </thead>
 | 
	
		
			
				|  |  |  <tbody>
 | 
	
		
			
				|  |  |  {% for type in qualification_types %}
 | 
	
		
			
				|  |  |  <tr>
 | 
	
		
			
				|  |  | -<td>{{ type.v_qualification_type }}</td><td><a href="#{{ type.id }}" class="a_edit_type">{{ icons.edit_svg(bl_quotes=False, s_label="edit type") }}</a> <a href= "#{{ type.id }}" class="a_remove_type" >×</a></td>
 | 
	
		
			
				|  |  | +<td>{{ type.v_qualification_type }}</td><td><a href="#{{ type.id }}" class="a_edit_type">{{ icons.edit_svg(bl_quotes=False, s_label="edit type") }}</a> <a href= "#{{ type.id }}" class="a_remove_type" >{{ icons.delete_svg(s_label="remove type") }}</a></td>
 | 
	
		
			
				|  |  |  </tr>
 | 
	
		
			
				|  |  |  {% endfor %}{# end of looping through qualification_types #}
 | 
	
		
			
				|  |  |  </tbody>
 | 
	
	
		
			
				|  | @@ -36,7 +39,10 @@ display: none;
 | 
	
		
			
				|  |  |  <article>
 | 
	
		
			
				|  |  |  <h3>Qualifications</h3>
 | 
	
		
			
				|  |  |  <div id="div_qualifications">
 | 
	
		
			
				|  |  | -<div><a href="#" id="a_add_qualification">Add qualification</a></div>
 | 
	
		
			
				|  |  | +<div><button type="button" id="btn_add_qualification" value="Add qualification>
 | 
	
		
			
				|  |  | +{{ icons.add_svg(s_label="add qualification") }}
 | 
	
		
			
				|  |  | +Add qualification
 | 
	
		
			
				|  |  | +</button></div>
 | 
	
		
			
				|  |  |  <div><select id="sel_type_filter">
 | 
	
		
			
				|  |  |  <option value="0" selected>--all types--</option>
 | 
	
		
			
				|  |  |  {% for type in qualification_types %}
 | 
	
	
		
			
				|  | @@ -52,7 +58,7 @@ Apply filter
 | 
	
		
			
				|  |  |  <table id="tbl_qualifications" class="data-table">
 | 
	
		
			
				|  |  |  <thead>
 | 
	
		
			
				|  |  |  <tr>
 | 
	
		
			
				|  |  | -<th>Qualification type</th><th>Qualification Name</th><th>Qualification Description</th><th style="font-size: smaller;">(actions)</th>
 | 
	
		
			
				|  |  | +<th>Qualification type</th><th>Qualification Name</th><th>Qualification Description</th><th style="font-size: smaller;">Actions</th>
 | 
	
		
			
				|  |  |  </tr>
 | 
	
		
			
				|  |  |  </thead>
 | 
	
		
			
				|  |  |  <tbody></tbody>
 | 
	
	
		
			
				|  | @@ -95,12 +101,12 @@ try {
 | 
	
		
			
				|  |  |  var s_dlg_type = $("#dlg_type").html();
 | 
	
		
			
				|  |  |  var s_dlg_qualification = $("#dlg_qualification").html();
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -$("#a_add_type").click( function(event) {
 | 
	
		
			
				|  |  | +$("#btn_add_type").click( function(event) {
 | 
	
		
			
				|  |  |      event.preventDefault();
 | 
	
		
			
				|  |  |      $("#dlg_type").html(s_dlg_type);
 | 
	
		
			
				|  |  |      $("#dlg_type").redraw();
 | 
	
		
			
				|  |  |      $("#dlg_type").dialog("open");
 | 
	
		
			
				|  |  | -});// end of a_add_type click event
 | 
	
		
			
				|  |  | +});// end of btn_add_type click event
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  $(".a_edit_type").click( function(event) {
 | 
	
		
			
				|  |  |      event.preventDefault();
 | 
	
	
		
			
				|  | @@ -180,12 +186,12 @@ $("#btn_type_filter").click( function(event) {
 | 
	
		
			
				|  |  |  }//end of catch
 | 
	
		
			
				|  |  |  });// end of btn_type_filter click|sel_type_filter change event
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -$("#a_add_qualification").click( function(event) {
 | 
	
		
			
				|  |  | +$("#btn_add_qualification").click( function(event) {
 | 
	
		
			
				|  |  |      event.preventDefault();
 | 
	
		
			
				|  |  |      $("#dlg_qualification").html(s_dlg_qualification);
 | 
	
		
			
				|  |  |      $("#dlg_qualification").redraw();
 | 
	
		
			
				|  |  |      $("#dlg_qualification").dialog("open");
 | 
	
		
			
				|  |  | -});// end of a_add_qualification click event
 | 
	
		
			
				|  |  | +});// end of btn_add_qualification click event
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  $("#tbl_qualifications").on("click", ".a_edit_qualification", function(event) {
 | 
	
		
			
				|  |  |      event.preventDefault();
 |