Sha256: fa116f01b7d68992bbfad0d6c4c0e16cf19c701d90dbbb104c89d5670a81056b
Contents?: true
Size: 401 Bytes
Versions: 1
Compression:
Stored size: 401 Bytes
Contents
= semantic_form_for parent? ? [parent, resource] : resource do |f| = f.semantic_errors = f.input :title = f.input :file, :as => :file - if parent? - if parent - f.object.object = parent = f.input :object_id, :as => :hidden = f.input :object_type, :as => :hidden - else = f.input :object, :collection => parent_class.all = f.buttons do = f.commit_button
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bookyt-0.0.1 | app/views/attachments/_form.html.haml |