<turbo-stream action="update" target="modal">
  <template>
    
<turbo-frame data-js-modal>
  <sdoc-backdrop>
      <sdoc-modal context="">
        <sdoc-modal-header>
Add new document
</sdoc-modal-header>
        <sdoc-modal-content>
  <form
    id="sdoc_modal_form"  
    action="/actions/project_index/create_document"
    method="POST"
    data-turbo="true"
  >
    <sdoc-form-grid>
      <sdoc-form-row>
        <sdoc-form-row-aside></sdoc-form-row-aside>
        <sdoc-form-row-main>




<sdoc-form-field>
  <sdoc-contenteditable
    
    
    data-js-editable-field
    role="textbox"
    data-field-type="singleline"contenteditable="true"id="document_title"
    placeholder="Enter document title here..."data-field-label="document title"data-testid="form-field-document_title"
  ></sdoc-contenteditable><input type="hidden" name="document_title" value="" /></sdoc-form-field></sdoc-form-row-main>
        <sdoc-form-row-aside></sdoc-form-row-aside>
      </sdoc-form-row>

      <sdoc-form-row>
        <sdoc-form-row-aside></sdoc-form-row-aside>
        <sdoc-form-row-main>




<sdoc-form-field>
  <sdoc-contenteditable
    
    
    data-js-editable-field
    role="textbox"
    data-field-type="singleline"contenteditable="true"id="document_path"
    placeholder="Enter document path and filename here..."data-field-label="document path and filename"class="std-input-document_path"data-testid="form-field-document_path"
  ></sdoc-contenteditable><input type="hidden" name="document_path" value="" /></sdoc-form-field><sdoc-form-hint>
            ☞ File name must end with one of:
            <code>.sdoc</code>, <code>.md</code>, <code>.markdown</code></sdoc-form-hint></sdoc-form-row-main>
        <sdoc-form-row-aside></sdoc-form-row-aside>
      </sdoc-form-row>
    </sdoc-form-grid>
  </form>
</sdoc-modal-content>
        <sdoc-modal-footer>
            
<button
  
    form="sdoc_modal_form"
  
  data-turbo="true"
  class="action_button"
  type="submit"
  data-action-type="submit"
  data-testid="form-submit-action"
><svg
  class="svg_icon"
  viewBox="0 0 16 16"
  fill="none"
  stroke="currentColor"
  stroke-width="1.5"
  stroke-linecap="round"
  stroke-linejoin="round"
>
  <path class="ico_submit_static" d="M2.5,8.5 C2.5,8.5 3.5,9.5 6,12 C11,7 13.5,4.5 13.5,4.5" />
  <circle class="ico_submit_spinner" cx="8" cy="8" r="5.5" stroke-dasharray="22 13" />
</svg>Save</button>
          
            <button
    data-js-modal-cancel-button
    type="button"
    class="action_button"
    data-action-type="cancel"
    data-testid="form-cancel-action"
  >Cancel</button>
          </sdoc-modal-footer>
      </sdoc-modal>
  </sdoc-backdrop>
</turbo-frame>
  </template>
</turbo-stream>