app/views/orgs/lti_configurations/_form.html.erb
<% method = local_assigns.fetch(:method) %>
<% model = local_assigns.fetch(:model) %>
<% allow_cancel = local_assigns.fetch(:allow_cancel, false) %>
<%= form_with model: model, url: lti_configuration_path, method: method do |f| %>
<div class="form-group">
<dt><label>learning management system Provider</label></dt>
<dt>What platform does your institution use for its learning management system?</dt>
<dd><%= f.select :lms_type, lms_type_select_options, { prompt: "Select from the options listed" }, { class: "form-select" } %></dd>
</div>
<br>
<div class="form-group">
<div class="d-flex flex-items-center border-top pt-5">
<%= submit_tag "Save changes", class: "btn btn-primary mr-3" %>
<% if allow_cancel %>
<%= link_to 'Cancel', :back, class: 'btn-link' %>
<% end %>
</div>
</div>
<% end %>