Sha256: b449dfcb9b58a5881e1f4cd059832fb15b3e22fba2fc1cb5696fe76e3d4acb41

Contents?: true

Size: 543 Bytes

Versions: 9

Compression:

Stored size: 543 Bytes

Contents

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

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

  .control-group
    = form.label :file, :class => "control-label"
    .controls
      = form.file_field :file

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
attached-1.0.0 test/dummy/app/views/audios/_form.html.haml
attached-0.6.0 test/dummy/app/views/audios/_form.html.haml
attached-0.5.9 test/dummy/app/views/audios/_form.html.haml
attached-0.5.8 test/dummy/app/views/audios/_form.html.haml
attached-0.5.7 test/dummy/app/views/audios/_form.html.haml
attached-0.5.6 test/dummy/app/views/audios/_form.html.haml
attached-0.5.5 test/dummy/app/views/audios/_form.html.haml
attached-0.5.4 test/dummy/app/views/audios/_form.html.haml
attached-0.5.3 test/dummy/app/views/audios/_form.html.haml