Sha256: d8257f6bdb88bea71398d9484cdbf099b0ae3abc0f8f9e19e478151b2ee790b6

Contents?: true

Size: 781 Bytes

Versions: 4

Compression:

Stored size: 781 Bytes

Contents

= stylesheet( 'dust_<%=parent_singular_name%>','<%=parent_singular_name%>_uploadify') 

- form_for @<%=parent_singular_name%>, :validate => true do |f| 
  = f.error_messages 
  .item
    %p
      = f.label :active 
      = f.check_box :active 
  .item
    %p
      = f.label :nav, "Navigation Link" 
      %br/
      = f.text_field :nav, :class => 'field' 
  .item
    %p
      = f.label :title 
      %br/
      = f.text_field :title, :class => 'field' 
  .item
    %p
      = f.label :heading 
      %br/
      = f.text_field :heading, :class => 'field' 
  .item
    %p
      = f.label :filename 
      %br/
      = f.text_field :filename, :class => 'field' 
  .item
    %p
      = f.label :desc 
      %br/
      = f.text_area :desc, :class => 'field' 
  .item
    %p= f.submit

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dust-generators-0.3.3 lib/generators/dust/albums/templates/app/views/albums/_form.html.haml
dust-generators-0.3.2 lib/generators/dust/albums/templates/app/views/albums/_form.html.haml
dust-generators-0.3.1 lib/generators/dust/albums/templates/app/views/albums/_form.html.haml
dust-generators-0.2.8 lib/generators/dust/albums/templates/app/views/albums/_form.html.haml