<div class="container">
    <h2>Add a New Lesson Plan</h2>
    <form action = "/lessons" method = "post">
    <p>Title: <br>
      <input name="lesson[title]" type="text" placeholder="Lesson title"></p>
    <p>Objective:<br>
      <textarea name="lesson[objective]" type="text" placeholder="Please supply an objective for this lesson"></textarea></p>
    <p>Warmup: <br>
      <textarea name="lesson[warmup]" type="text" placeholder="If your lesson does not include a warmup, please indicate that here"></textarea></p>
    <p>Main Lesson: <br>
      <textarea name="lesson[main]" type="text" placeholder="Put the main body of your lesson plan here"></textarea></p>
    <p>Homework: <br>
      <textarea name="lesson[homework]" type="text" placeholder="If there is no homework for this lesson, please indicate that here"></textarea></p>
    <input type="submit" value="Submit">
  </form>
  <p>
</div>

<div class="container">
    <h2>Add a New Lesson Plan</h2>
    <form action = "/lessons" method = "post">
    <p>Title: <br>
      <input name="lesson[title]" type="text" placeholder="Lesson title"></p>
    <p>Objective:<br>
      <textarea name="lesson[objective]" type="text" placeholder="Please supply an objective for this lesson"></textarea></p>
    <p>Warmup: <br>
      <textarea name="lesson[warmup]" type="text" placeholder="If your lesson does not include a warmup, please indicate that here"></textarea></p>
    <p>Main Lesson: <br>
      <textarea name="lesson[main]" type="text" placeholder="Put the main body of your lesson plan here"></textarea></p>
    <p>Homework: <br>
      <textarea name="lesson[homework]" type="text" placeholder="If there is no homework for this lesson, please indicate that here"></textarea></p>
    <p>Category:</p>
    <% Category.all.each do |category| %>
    <input type="radio" name="lesson[category_id]" value="<%=category.id %>"> <%=category.category%><p></p>
    <%end%>
    <p>Grade Level:</p>
    <% GradeLevel.all.each do |level| %>
    <input type="radio" name="lesson[grade_level_id]" value="<%=level.id %>"> <%=level.level%><p></p>
    <%end%>
    <input type="submit" value="Submit">
  </form>
  <p>
</div>

Add category and grade level to lesson form
Add category and grade level to lesson form
