Sha256: 0020d0a6d527c3d73521db88841127c16d8d5144b98fad364e340ee154bb93b8

Contents?: true

Size: 370 Bytes

Versions: 3

Compression:

Stored size: 370 Bytes

Contents

Coprl::Presenters.define(:new, namespace: :<%= plural_table_name %>) do
  grid do
    column 1
    column 5 do
      heading 'New <%= human_name %>'
      content do
      attach '_form'
      button 'Create' do
        event :click do
          creates <%= index_helper %>_path
        end
      end
      end
      link 'Back', presenter_path(:index)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
coprl-3.0.0.beta.12 lib/generators/pom/scaffold/templates/new.html.pom
coprl-3.0.0.beta.11 lib/generators/pom/scaffold/templates/new.html.pom
coprl-3.0.0.beta.10 lib/generators/pom/scaffold/templates/new.html.pom