app/views/meal_plans/new.html.erb
<div class="title-container">
<h1>New Meal Plan</h1>
</div>
<div class="panel panel-default">
<div class="panel-body">
<%= form_for @meal_plan, url: new_meal_plan_path, method: "GET", html: { class: "form-inline" } do |form| %>
<div class="form-group">
<%= form.label :start_date %>
<%= form.text_field :start_date, type: "date", class: "form-control" %>
</div>
<div class="form-group">
<%= form.label :end_date %>
<%= form.text_field :end_date, type: "date", class: "form-control" %>
</div>
<div class="form-group">
<%= form.submit "Generate Plan", class: "btn btn-default" %>
</div>
<% end %>
</div>
</div>
<%= render partial: 'form' %>