Sha256: d8136019158f3b49c4be5aae1c21cfbe3fa31ded9ae861935712af4bc3a3593a

Contents?: true

Size: 600 Bytes

Versions: 3

Compression:

Stored size: 600 Bytes

Contents

=content_for :h1 do
  #type
    =@content.media_type.capitalize
  #title
    =link_to @content.asset.name, asset_content_path(@content)
  #action
    %span.action
      =button_to "Delete", asset_content_path(@content), :method => :delete, :onclick => "return confirm('Are you sure?')"
      =render :partial => "assets/put_on_tray"

#sidebar.fassets_core
  =render :partial => "assets/classification", :locals => {:asset => @content.asset}
  =render :partial => "#{@content.class.to_s.underscore.pluralize}/sidebar"
#main.fassets_core
  =render :partial => "assets/form", :locals => {:new => false}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fassets_core-0.3.1 app/views/assets/edit.html.haml
fassets_core-0.3.0 app/views/assets/edit.html.haml
fassets_core-0.2.0 app/views/assets/edit.html.haml