Sha256: 1a191a13d570637c9e2fa35ebab5c919d9d64341c839fe5b598489be443000b0

Contents?: true

Size: 242 Bytes

Versions: 4

Compression:

Stored size: 242 Bytes

Contents

=form_for model, :html => options do |f|
  =fields_for "#{model.class.to_s.underscore}", asset do |asset|
    %p
      %label{:for => 'name'} Name:
      =asset.text_field :name
  =render :partial => "form", :object => f
  =submit_tag submit

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fassets_core-0.4.0 app/views/shared/_asset_form.html.haml
fassets_core-0.3.1 app/views/shared/_asset_form.html.haml
fassets_core-0.3.0 app/views/shared/_asset_form.html.haml
fassets_core-0.2.0 app/views/shared/_asset_form.html.haml