title: How to place icon next to input field in bootstrap
body: <p>I am using using bootstrap in my project. I am creating an edit form in which i have to use some info icons next to input field and in this task i am facing an alignment problem. Please check this image:<img src="https://i.stack.imgur.com/SUEEy.png" alt="enter image description here"> </p>
  
  <p>Notice the huge gap b/w input field and icon and the same problem is with selectlist and duration field. The html code of this image is:</p>
  
  <pre><code>&lt;div class="row"&gt;
      &lt;div class="col-md-6 form-group"&gt;
          @Html.LabelFor(p =&gt; p.Services[0].FixedTimeSlot, new { @class = "col-md-5 control-label small" })
          &lt;div class="col-md-5"&gt;
              @Html.TextBoxFor(p =&gt; p.Services[0].FixedTimeSlot, new { @class = "form-control input-sm", data_bind = "value: FixedTimeSlot" })
              @Html.ValidationMessageFor(p =&gt; p.Services[0].FixedTimeSlot, "", new { @class = "help-block" })
          &lt;/div&gt;
          &lt;div class="col-md-2"&gt;
              &lt;a tabindex="-1" href="javascript:void(0);"&gt;&lt;span class="fa fa-info-circle text-info icon-ms" data-bind=""&gt;&lt;/span&gt;&lt;/a&gt;
          &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="col-md-6 form-group"&gt;
          @Html.LabelFor(p =&gt; p.Services[0].Duration, new { @class = "col-md-5 control-label small" })
          &lt;div class="col-md-7"&gt;
              &lt;div class="row"&gt;
                  &lt;div class="col-md-6"&gt;
                      @Html.TextBoxFor(p =&gt; p.Services[0].Duration, new { @class = "form-control input-sm", data_bind = "value: Duration" })
                  &lt;/div&gt;
                  &lt;div class="col-md-6"&gt;
                      &lt;select class="form-control input-sm" data-bind="options: $parents[1].timeUnits, optionsText: 'unit', optionsValue: 'value', value: selectedTimeUnit"&gt;&lt;/select&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
              @Html.ValidationMessageFor(p =&gt; p.Services[0].Duration, "", new { @class = "help-block" })
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I am new with bootstrap and very week in css, so i do not want to write css, is this problem can be solved using bootsrap classes ??</p>