Sha256: e5b5f6594f8f39baa3893e953655a2689aadb4996eb6f7bd1ab8ff4fbf96df88

Contents?: true

Size: 566 Bytes

Versions: 1

Compression:

Stored size: 566 Bytes

Contents

<%%
  # initialize row
  row = cell(:elements, :row).new

  # initialize block
  block = cell(:elements, :block).new(class: 'xs-12 sm-12 md-12')

  # initialize title
  title = cell(:elements, :title).new(label: 'Edit <%= @singular_name.humanize %>', size: 2)
%>

<!-- MAIN CONTAINER -->
<%%=raw row.open %>

  <%%=raw block.open %>

    <%%=raw title %>

    <%%= render 'lato/<%= @plural_name %>/shared/form', url: lato_<%= @singular_name %>_path(@<%= @singular_name %>.id), method: :put %>

  <%%=raw block.close %>

<%%=raw row.close %>
<!-- / MAIN CONTAINER -->

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lato_core-2.1.3 lib/generators/lato_core/templates/crud_views/app/views/lato/crud/edit.html.erb