Updated indents, pulled Line #24 into the if { }

This commit is contained in:
Arjit Chaudhary
2015-08-29 22:42:04 +05:30
parent 6b9315bdce
commit 6febdbecd1
+1 -1
View File
@@ -21,12 +21,12 @@ echo '</tr></thead><tbody>';
echo '</td>';
echo '</tr>';
}
echo '</tbody></table></div>';
}
else { //if $group_count_check is empty, aka no group found, then display a message to the user.
echo "<center>Looks like no groups have been created, let's create one now. Click on <b>Create New Group</b> to create one.</center><br>";
echo "<center><button type='button' class='btn btn-primary btn-sm' aria-label='Add' data-toggle='modal' data-target='#create-group' data-group_id='' name='create-device-group'>Create new Group</button></center>";
}
echo '</tbody></table></div>';
if(!empty($group_count_check)) { //display create new node group when $group_count_check has a value so that the user can define more groups in the future.
echo "<hr>";