Sha256: c323dd71a59f72e4a1ea9643244fc79bed6068f1e7af0408f72d90569cbc56f5

Contents?: true

Size: 465 Bytes

Versions: 4

Compression:

Stored size: 465 Bytes

Contents

= form_for audio, :html => { :multipart => true, :role => 'form' } do |form|
  - audio.errors.each do |method, message|
    = render 'shared/error', :method => method, :message => message

  .form-group
    = form.label :name
    = form.text_field :name, :class => "form-control"

  .form-group
    = form.label :file
    = form.file_field :file

  .form-actions
    = form.submit "Submit", :class => 'btn btn-primary'
    = link_to 'Cancel', :back, :class => 'btn'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
attached-1.0.4 test/dummy/app/views/audios/_form.html.haml
attached-1.0.3 test/dummy/app/views/audios/_form.html.haml
attached-1.0.2 test/dummy/app/views/audios/_form.html.haml
attached-1.0.1 test/dummy/app/views/audios/_form.html.haml