Sha256: 75cfd401517995482da7e366feb665646714de4d571304e0a80234ac7d204259

Contents?: true

Size: 485 Bytes

Versions: 5

Compression:

Stored size: 485 Bytes

Contents

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
carnival-0.1.5 app/views/carnival/base_admin/new.html.haml
carnival-0.1.3 app/views/carnival/base_admin/new.html.haml
carnival-0.1.2 app/views/carnival/base_admin/new.html.haml
carnival-0.1.1 app/views/carnival/base_admin/new.html.haml
carnival-0.1.0 app/views/carnival/base_admin/new.html.haml