Sha256: 935c670354205549b3436bdd734ab0f56786a385c76906977880277523c96875

Contents?: true

Size: 493 Bytes

Versions: 4

Compression:

Stored size: 493 Bytes

Contents

= form_for @folder, :html => {:class => 'edit folder'} do |f|
  = f.hidden_field :parent_id
  
  %p.slug
    %strong<
      - if @folder.parent
        = @folder.parent.path + "/"
      - else
        \/
      %br
    = f.text_field :name, :required => true, :class => "name", :placeholder => t(:"activerecord.attributes.droom.folder.name")
    %br
    %span.formnote
      = t :slug_note
  .buttons
    = f.submit t(:save_folder)
    = t :or
    = link_to t(:cancel), '#', :class => 'cancel'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
droom-0.4.3 app/views/droom/folders/_form.html.haml
droom-0.4.2 app/views/droom/folders/_form.html.haml
droom-0.4.1 app/views/droom/folders/_form.html.haml
droom-0.2.1 app/views/droom/folders/_form.html.haml