Sha256: 7cfb219684f70d2f2b1b7f6285c0075770e75ae184d70e399fb8b06cc1453cd0

Contents?: true

Size: 728 Bytes

Versions: 13

Compression:

Stored size: 728 Bytes

Contents

= form_for [@page, @grid_file], :url => concen_page_grid_file_path(@page, @grid_file), :html => {:class => "with-text-editor wide"} do |f|
  - if @grid_file.errors.any?
    #errorExplanation
      %h3= "#{pluralize(@page.errors.count, "error")} prohibited this parent from being saved:"
      %ul
        - @page.errors.full_messages.each do |msg|
          %li= msg
  .field.text-editor
    .border
      #text-editor.wide
  = text_area_tag :concen_grid_file_page, @grid_file.read.force_encoding("utf-8"), :class => "text-editor-content hidden"
  .actions.flush
    = f.submit "Save"
    = link_to "Delete", concen_page_grid_file_path(@page, @grid_file), :method => :delete
    = link_to "Cancel", edit_concen_page_path(@page)

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
concen-0.2.4 app/views/concen/grid_files/_form.html.haml
concen-0.2.3 app/views/concen/grid_files/_form.html.haml
concen-0.2.2 app/views/concen/grid_files/_form.html.haml
concen-0.2.1 app/views/concen/grid_files/_form.html.haml
concen-0.2.0 app/views/concen/grid_files/_form.html.haml
concen-0.1.7 app/views/concen/grid_files/_form.html.haml
concen-0.1.6 app/views/concen/grid_files/_form.html.haml
concen-0.1.5 app/views/concen/grid_files/_form.html.haml
concen-0.1.4 app/views/concen/grid_files/_form.html.haml
concen-0.1.3 app/views/concen/grid_files/_form.html.haml
concen-0.1.2 app/views/concen/grid_files/_form.html.haml
concen-0.1.1 app/views/concen/grid_files/_form.html.haml
concen-0.1 app/views/concen/grid_files/_form.html.haml