Sha256: 6fa6e9cc921d185ac19fcbd5ab0b3c10292bd4ad532a15cbab77d4eabbbe0c96
Contents?: true
Size: 544 Bytes
Versions: 9
Compression:
Stored size: 544 Bytes
Contents
= form_for image, :html => { :multipart => true, :class => 'form-horizontal' } do |form| - image.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