.form-row
  .form-label= t 'attributes.project.name'
  .form-field= validated-input attribute='name' changeset=changeset enter='saveRecord'
.form-row
  .form-label= t 'attributes.project.contract'
  .form-field
    = file-upload name='contract' onfileadd=(action "set_contract")
      a.ui.button id="upload-contract" tabindex=0
        i.upload.icon
        span Upload contract
if contract
  = format-json value=contract top_title='Contract'
.modal-actions.sticky
  if contract
    button.ui.primary.button.modal-save.pull-right{action 'saveRecord'}= t 'general.save'
  button.ui.basic.button.modal-rollback{action 'rollback_and_close'}= t 'general.rollback'

