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]