title: How to use localization in asp-for tag helper, when the model is an IEnumerable<T>
body: <p>In my view, the model is from type <code>IEnumerable&lt;ApplicationUser&gt;</code>. What is best practice to use the <code>asp-for</code> tag-parameter with this model?</p>
  
  <p>What I mean is: when the model is from type <code>ApplicationUser</code> and we create a simple "Edit-All-Data"-model we simply can do something like this:</p>
  
  <pre><code>&lt;label asp-for="Model.FirstName"&gt;&lt;/label&gt;
  &lt;input asp-for="Model.FirstName"&gt;&lt;/input&gt;
  &lt;label asp-for="Model.LastName"&gt;&lt;/label&gt;
  &lt;input asp-for="Model.LastName"&gt;&lt;/input&gt;
  </code></pre>
  
  <p>But now my model is an <code>IEnumerable&lt;ApplicationUser&gt;</code> (and I want to take advantage of localization with resources and <code>DisplayAttribute</code> of  <code>ApplicationUser</code>) and I want to write a table:</p>
  
  <pre><code>&lt;table&gt;
      &lt;tr&gt;
          &lt;th&gt;&lt;label asp-for="??? FirstName ???"&gt;&lt;/label&gt;&lt;/th&gt;
          &lt;th&gt;&lt;label asp-for="??? LastName ???"&gt;&lt;/label&gt;&lt;/th&gt;
  
          &lt;th&gt;&amp;nbsp;&lt;/th&gt;
      &lt;/tr&gt;
  
      @foreach (var user in Model)
      {
          &lt;tr&gt;
              &lt;td&gt;@user.FirstName&lt;/td&gt;
              &lt;td&gt;@user.LastName&lt;/td&gt;
              &lt;td&gt;&lt;a asp-action="EditUser" asp-controller="Administrator" asp-route-id="@user.Id"&gt;edit profile&lt;/a&gt;&lt;/td&gt;
          &lt;/tr&gt;
      }
  &lt;/table&gt;
  </code></pre>
  
  <p>How can I use the <code>asp-for</code> in the <code>&lt;th&gt;...&lt;/th&gt;</code> tags? Did I miss something?</p>