Sha256: 19343be23739fad8ab8bc8130d61c688fbf31ff9ae9a8d78c1dfd44e78a83d99
Contents?: true
Size: 465 Bytes
Versions: 4
Compression:
Stored size: 465 Bytes
Contents
= form_for image, :html => { :multipart => true, :role => 'form' } do |form| - image.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