Sha256: ffc7e56b9fb270fb4c58cb4926740f7a0beed3de8b5ff6d61e888cfb57ccb93d

Contents?: true

Size: 355 Bytes

Versions: 3

Compression:

Stored size: 355 Bytes

Contents

- index_path = caminho_modelo(:index)
.gray_border.with_margin_bottom
  %h1= t("#{@model_presenter.model_name}.editar.novo")
.action_back
  - # TODO add buttons to the form in presenter
  = link_to t('back'), index_path, class: 'back_link' if @model_presenter
= render '/carnival/shared/form/form', button: t('create'), model_object: @model, action: :new

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
carnival-0.0.26 app/views/carnival/shared/form/new.html.haml
carnival-0.0.11 app/views/carnival/shared/form/new.html.haml
carnival-0.0.10 app/views/carnival/shared/form/new.html.haml