extends ../../layout

block content
  script.
    $(document).ready(function(){
      $('#create_form').submit();
    });

  .editor.full-size
    .loading-screen()
      .loading-screen-brand-container
        .loading-screen-brand(
          style="height: 20%;"
        )

      h3.loading-screen-label() #{translate("Opening template")}
        span.loading-screen-ellip .
        span.loading-screen-ellip .
        span.loading-screen-ellip .

  form(id='create_form' method='POST' action='/project/new/template/')
    input(type="hidden", name="_csrf", value=csrfToken)
    input(type="hidden" name="templateId" value=templateId)
    input(type="hidden" name="templateVersionId" value=templateVersionId)
    input(type="hidden" name="templateName" value=name)
    input(type="hidden" name="compiler" value=compiler)
