Sha256: 351b95f60d4a5c3ca52eca29af983b8b803cf53aff837b1c5a6921c059d60f77

Contents?: true

Size: 560 Bytes

Versions: 4

Compression:

Stored size: 560 Bytes

Contents

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

  content_for(:submit_left) do
    link_to t('button.back').html_safe, url_for(action: :index), class: 'button'
  end
  content_for(:submit_right) do
    link_to t('button.edit').html_safe, url_for(action: :edit), class: 'button'
  end

fieldset.show class="wide mask" id=model_symbol
  legend = model_name
  = render '/shared/error_explanation'

  = form_with model: resource do |f|
    = render 'form', f: f
    = render '/rows/submit'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rows_controller-3.1.3 app/views/rows/show.slim
rows_controller-3.1.2 app/views/rows/show.slim
rows_controller-3.1.1 app/views/rows/show.slim
rows_controller-3.1.0 app/views/rows/show.slim