Sha256: 1bad6219cee2a23aa5ca09285e17f56706d080841ecd409565e7865a07b82328

Contents?: true

Size: 566 Bytes

Versions: 1

Compression:

Stored size: 566 Bytes

Contents

ruby:
 # Template for RowsController (edit)
 # Requires resource model_name model_symbol
 #   partial 'form' template

 content_for(:submit_left) do
   link_to t('button.back').html_safe, "/#{controller_name}", class: 'button'
 end

fieldset class="wide mask" id=model_symbol
  legend = t('ui.editing', model: model_name).html_safe
  = render '/shared/error_explanation'

  /"/#{controller_name}/update/#{@row.id}"
  = form_with resource,
      url: "/#{controller_name}/#{@row.id}" do |f|
    = render 'form', f: f
    = render '/rows/submit', right: %w[update OK]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rows_controller-3.1.0 app/views/rows/edit.slim.bak