<% # Copyright (C) 2018 - present Instructure, Inc. # # This file is part of Canvas. # # Canvas is free software: you can redistribute it and/or modify it under # the terms of the GNU Affero General Public License as published by the Free # Software Foundation, version 3 of the License. # # Canvas is distributed in the hope that it will be useful, but WITHOUT ANY # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR # A PARTICULAR PURPOSE. See the GNU Affero General Public License for more # details. # # You should have received a copy of the GNU Affero General Public License along # with this program. If not, see . %> <%= form_tag(context_url(@context, :controller => :submissions, :assignment_id => @assignment.id, :action => :create), {:id => "submit_online_text_entry_form", :class => "submit_assignment_form"}) do %> <%= hidden_field :submission, :submission_type, :value => "online_text_entry" %> <%= hidden_field :submission, :eula_agreement_timestamp, :id => "eula_agreement_timestamp" %> <%= render :partial => "group_comment" %> <% if @assignment.turnitin_enabled? %> <%= render :partial => "turnitin" %> <% end %> <% if @assignment.vericite_enabled? %> <%= render :partial => "vericite" %> <% end %> <%= render partial: 'assignments/eula_checkbox', locals: { eula_url: eula_url } %>
<%= t 'instructions.online_text_entry', "Copy and paste or type your submission right here." %> <%= render :partial => "assignments/group_submission_reminder" if @assignment.has_group_category? %>
<% unless @context.feature_enabled?(:rce_enhancements) %> <% end %> <%= text_area :submission, :body, :style => "width: 100%; height: 250px;" %>
<%= text_area :submission, :comment, :class => 'submission_comment_textarea', :placeholder => t('comments_placeholder', 'Comments...'), :title => t('additional_comments', 'Additional comments') %>
<% end %>