Sha256: 6db8068da58c33a79579c0a563acafaf083810e2cd45bea0ac28e5f29d00fc61
Contents?: true
Size: 731 Bytes
Versions: 1
Compression:
Stored size: 731 Bytes
Contents
%h1== Remove #{model_name} %p Are you sure you want to %strong.warning permanently remove == the following #{model_name}? %table.index{:id => model_symbol, :cellpadding => 0, :cellspacing => 0, :border => 0} %tbody %tr.node.level-1 -# this next class is dumb but Radiant hard coded for the Snippet class so we'll just piggyback on that... %td.snippet = image("sns/#{model_symbol}", :class => "icon", :alt => "#{model_symbol}-icon", :title => model.url) %span.title= model.name - form_for [:admin, model], :html => {:method => :delete} do %p.buttons %input.button{:type=>"submit", :value=>"Delete #{model_name}"}/ or = link_to('Cancel', send("admin_#{model_symbol}s_path"))
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
radiant-sns-extension-0.9.0 | app/views/admin/text_assets/remove.html.haml |