Sha256: bec2a6ac94109dc8ab66df5048ee207224f20a0511d887dfa5769ef967b450fe

Contents?: true

Size: 574 Bytes

Versions: 4

Compression:

Stored size: 574 Bytes

Contents

- content_for :main do
  %h1.help_icon Edit Help '#{@help.name}'

  .cms_form
    = form_for @help, :url=>"/admin/help/#{@help.id}",:method=>:post do  |f|

      %label Title
      = f.text_field :name

      %label Path
      = f.text_field :path

      %label Content
      = ace_editor('html', :help, :body, f)
      %br
      = kit_submit "Save"
      or
      = icon_to "Cancel", "/admin/helps"

  .spacer(style="margin-top: 20px;")
    = icon_to "Delete This Page", "/admin/help/#{@help.id}", false, :method=>:delete, :confirm=>"Are you sure?  This cannot be undone"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kit_cms-2.3.9 app/views/admin/help/edit.html.haml
kit_cms-2.3.8 app/views/admin/help/edit.html.haml
kit_cms-2.3.7 app/views/admin/help/edit.html.haml
kit_cms-2.3.6 app/views/admin/help/edit.html.haml