Sha256: e6c4dbf7e700ed5d89885e162f5fc71e7e073d72000cb6f9ea4fdb2c3553b53f

Contents?: true

Size: 594 Bytes

Versions: 5

Compression:

Stored size: 594 Bytes

Contents

.module
  %h2= t(:add_file_attachment)

  = form_for :file_attachment, :url => file_attachments_path, :html => { :multipart => true } do |form|
    %fieldset
      .clearfix
        %label File
        .input
          = form.file_field :attachment_file
      - if params[:ticket_id]
        = hidden_field_tag :ticket_id, params[:ticket_id]
      - if params[:client_id]
        = hidden_field_tag :client_id, params[:client_id]
      - if params[:project_id]
        = hidden_field_tag :project_id, params[:project_id]
      .actions
        = form.submit t(:submit), :class => 'btn primary'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
xrono-1.0.4 app/views/file_attachments/new.html.haml
xrono-1.0.3 app/views/file_attachments/new.html.haml
xrono-1.0.2 app/views/file_attachments/new.html.haml
xrono-1.0.1 app/views/file_attachments/new.html.haml
xrono-1.0.0 app/views/file_attachments/new.html.haml