Sha256: 5b85b29cb5e42e8fbcb5f14e73a5f99c9e8528908c40bf23bc6c3caf412977f2

Contents?: true

Size: 704 Bytes

Versions: 11

Compression:

Stored size: 704 Bytes

Contents

.box-body
  .form-group
    .form-control
      .col-xs-1 style="padding-left: 0px; padding-right: 0px;"
        .btn.btn-default.btn-xs
          = f.file_field :file, id: "file-upload", class: 'fileInput'
          | Browse
      .col-xs-10.col-md-10
        = f.text_field :name, id: "file-name", placeholder: 'Name of File...', style: "border: 0px;"
  .form-group
    = f.label :tags
    - if current_page?(new_document_path)
      = f.text_field :tags, placeholder: 'Enter tags ...', class: 'form-control'
    - else
      = f.text_field :tags, value: @document.tags.map(&:name), placeholder: 'Enter tags ...', class: 'form-control'
.box-footer
  button.btn.btn-primary[type="submit"]
    | Submit 

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
hicube-0.0.11 app/views/hicube/documents/_form.html.slim
hicube-0.0.10 app/views/hicube/documents/_form.html.slim
hicube-0.0.9 app/views/hicube/documents/_form.html.slim
hicube-0.0.8 app/views/hicube/documents/_form.html.slim
hicube-0.0.7 app/views/hicube/documents/_form.html.slim
hicube-0.0.6 app/views/hicube/documents/_form.html.slim
hicube-0.0.5 app/views/hicube/documents/_form.html.slim
hicube-0.0.4 app/views/hicube/documents/_form.html.slim
hicube-0.0.3 app/views/hicube/documents/_form.html.slim
hicube-0.0.2 app/views/hicube/documents/_form.html.slim
hicube-0.0.1 app/views/hicube/documents/_form.html.slim