Sha256: 7b3be95312621d3433298f582fbf9304e15144d32d66f6ebe1a7bbe0c3d65554

Contents?: true

Size: 544 Bytes

Versions: 1

Compression:

Stored size: 544 Bytes

Contents

- @title = root

= partial('header', locals: { file: true, idx: idx })

%form.edit{ action: "/#{idx}#{request.path_info}?mode=save", method: 'POST', style: 'display:none;' }
  #editor
  %textarea#data{ name: 'data' }= preserve contents
  .clearfix
    %textarea.span16#message{ name: 'message', placeholder: 'Optional commit message.' }
  %input.btn.primary{ type: 'submit', value: 'Save' }
  %a.btn.secondary{ href: "/#{idx}#{request.path_info}" } Cancel
  %input.filename{ type: 'hidden', value: request.path_info }

= partial('ace_scripts')

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gitdocs-0.5.0.pre7 lib/gitdocs/views/edit.haml