For placing 2 elements on the same line just use display: inline-block;
property and if you want to use edit icon then you can use bootstrap icon: source.
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<style type="text/css">
.model-title {
display: inline-block;
}
</style>
</head>
<body>
<div class="container">
<h3 class="model-title">Product Title</h3>
<a href="#">
<span class="glyphicon glyphicon-pencil"></span>
</a>
</p>
</div>
</body>
</html>