Sha256: d760ff2faed332f7aba5ddda587b8ac7b22d7fdf9fe2701255e0a5736d26f051
Contents?: true
Size: 1.46 KB
Versions: 3
Compression:
Stored size: 1.46 KB
Contents
.sub-header.solitary-header.clearfix .button-bar.clearfix .admin-links = link_to 'all Albums', dust_gallery_albums_path, :class => 'border' = link_to "delete album", @album, :confirm => 'Are you sure?', :method => :delete - unless @album.new_record? :javascript window.album = #{@album.to_json} window.photos = #{@album.photos.roots.to_json} .content-areas .sub-header.clearfix .button-bar.clearfix .title photos .admin-links = link_to "Select Files", "#", :class => "border", :id => "uploader" = link_to "Save Order", "#", :class => "order", 'data-url' => '/dust/sort', 'data-class' => "Dust::Gallery::Photo" = render 'photo' .content-wrapper.photos -# end unless @ablum.new_record? .form-wrap.clearfix = simple_form_for @album do |f| = f.error_messages .fields .sub-header.clearfix .button-bar.clearfix .title album fields .admin-links -#= render :partial => 'search' .content-wrapper = f.input :title = f.input :description .sub-header .title Menu Item .content-wrapper = f.input :active, :as => :boolean, :label => "Show in Menu" = f.input :menu, :collection => Dust::Menu.all.map{ |m| [m.title, m.id] } = f.input :nav_link, :label => "Name, navigation link" = f.input :filename, :label => "Filename, Found In The Url" .actions = f.button :submit
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dust-cms-0.0.07 | app/views/dust/gallery/albums/_form.html.haml |
dust-cms-0.0.06 | app/views/dust/gallery/albums/_form.html.haml |
dust-cms-0.0.05 | app/views/dust/gallery/albums/_form.html.haml |