<% content_for :page_title, t(:edit_assignment, "Edit Assignment") %>
<% content_for :right_side do %>
  <%= render "shared/wiki_sidebar" %>
<% end %>

<%
  css_bundle :assignments, :assignments_edit, :tinymce
  js_bundle :assignment_edit
%>

<div id="edit_assignment_header" class="header-bar">
</div>

<div id="edit_assignment_wrapper">
  <form id="edit_assignment_form" class="form-horizontal bootstrap-form">
  </form>
</div>

<%= render "groups/add_group_category" %>
<%= render "shared/select_content_dialog", :only => [:external_tools], lti_app_placements: [Lti::ResourcePlacement::ASSIGNMENT_SELECTION, Lti::ResourcePlacement::RESOURCE_SELECTION] %>
<div id="edit_letter_grades_form" style="display: none;">
  <%= render partial: "shared/grading_standard", object: @assignment.grading_standard_or_default %>
  <a href="<%= context_url(@context, :context_grading_standards_url) %>" style="display: none;" class="create_grading_standard_url">&nbsp;</a>
  <a href="<%= context_url(@context, :context_grading_standard_url, "{{ id }}") %>" style="display: none;" id="update_grading_standard_url">&nbsp;</a>
</div>

<% if @assignment.title.nil? %>
  <% content_for :page_title, t("Create Assignment") %>
<% else %>
  <% content_for :page_title, t("Edit Assignment") %>
<% end %>
<% content_for :right_side do %>
  <%= render "shared/wiki_sidebar" %>
<% end %>

<%
  css_bundle :assignments, :assignments_edit, :tinymce
  js_bundle :assignment_edit
%>

<div id="edit_assignment_header" class="header-bar">
</div>

<div id="edit_assignment_wrapper">
  <form id="edit_assignment_form" class="form-horizontal bootstrap-form">
  </form>
</div>

<%= render "groups/add_group_category" %>
<%= render "shared/select_content_dialog", :only => [:external_tools], lti_app_placements: [Lti::ResourcePlacement::ASSIGNMENT_SELECTION, Lti::ResourcePlacement::RESOURCE_SELECTION] %>
<div id="edit_letter_grades_form" style="display: none;">
  <%= render partial: "shared/grading_standard", object: @assignment.grading_standard_or_default %>
  <a href="<%= context_url(@context, :context_grading_standards_url) %>" style="display: none;" class="create_grading_standard_url">&nbsp;</a>
  <a href="<%= context_url(@context, :context_grading_standard_url, "{{ id }}") %>" style="display: none;" id="update_grading_standard_url">&nbsp;</a>
</div>

Fix title for assignment create page to match expected value
Fix title for assignment create page to match expected value

fixes CNVS-25668

test plan:
- Create new assignment
- Ensure title on tab is "Create Assignment"
- Save assignment
- Edit Assignment
- Ensure title on tab is "Edit Assignment"

Change-Id: Ic64cee244ff0da31299679108b72b3f488bb0c99
Reviewed-on: https://gerrit.instructure.com/68702
Tested-by: Jenkins
Reviewed-by: Matt Berns <e53c8988cd428dde240324ce2797c8eb7073560f@instructure.com>
QA-Review: Rajkumar Kethavath <943d80ed9dc95d434849fae8b8fb2a95a056374d@instructure.com>
Product-Review: Jason Sparks <542e620f0c6c3447ce6e2e8c83a97102b99f89c6@instructure.com>
