title: Actionlink not picking up Bootstrap button class in asp.net mvc view
body: <p>Hi could someone cast a quick eye over the attached to see why the button is not picking up the bootstrap class correctly.</p>
  
  <p>The Actionlink item in question is at the very end of the view.</p>
  
  <p>I have tried moving the @section scripts section to different parts of the page but it has made no difference.</p>
  
  <p>Thanks
  John</p>
  
  <pre><code>@model IEnumerable&lt;IWA_Mileage_Tracker_Demo.Models.Journey&gt;
  
  @{
      ViewBag.Title = "Index";
      Layout = "~/Views/Shared/_Layout.cshtml";
  }
  
  
  &lt;table class="table"&gt;
      &lt;tr&gt;
          &lt;th&gt;
              @Html.DisplayNameFor(model =&gt; model.StartAddress)
          &lt;/th&gt;
          &lt;th&gt;
              @Html.DisplayNameFor(model =&gt; model.FinishAddress)
          &lt;/th&gt;
          &lt;th&gt;
              @Html.DisplayNameFor(model =&gt; model.DateofJourney)
          &lt;/th&gt;
          &lt;th&gt;
              @Html.DisplayNameFor(model =&gt; model.distance)
          &lt;/th&gt;
          &lt;th&gt;
              @Html.DisplayNameFor(model =&gt; model.ReasonForJourney)
          &lt;/th&gt;
  
      &lt;/tr&gt;
  
      @foreach (var item in Model)
      {
          &lt;tr&gt;
              &lt;td&gt;
                  @Html.DisplayFor(modelItem =&gt; item.StartAddress)
              &lt;/td&gt;
              &lt;td&gt;
                  @Html.DisplayFor(modelItem =&gt; item.FinishAddress)
              &lt;/td&gt;
              &lt;td&gt;
                  @Html.DisplayFor(modelItem =&gt; item.DateofJourney)
              &lt;/td&gt;
              &lt;td&gt;
                  @Html.DisplayFor(modelItem =&gt; item.distance)
              &lt;/td&gt;
  
              &lt;td&gt;
                  @Html.DisplayFor(modelItem =&gt; item.ReasonForJourney)
              &lt;/td&gt;
              &lt;td&gt;
                  @Html.ActionLink("Edit", "Edit", new { id = item.ID }) |
                  @Html.ActionLink("Details", "Details", new { id = item.ID }) |
                  @Html.ActionLink("Delete", "Delete", new { id = item.ID })
              &lt;/td&gt;
          &lt;/tr&gt;
      }
  
  &lt;/table&gt;
  
  &lt;div class="col-md-6"&gt;
  
                  @Html.ActionLink("Add a new journey", "Create", new {@class = "btn btn-default"})
      &lt;/div&gt;
  
          @section Scripts {
              @Scripts.Render("~/bundles/jqueryval")
      }
  </code></pre>