Sha256: 8d79d9e938e49943679329c71fd0e54e00ff196595893ef3defb80f3ba71b3fa

Contents?: true

Size: 472 Bytes

Versions: 17

Compression:

Stored size: 472 Bytes

Contents

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

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
carnival-0.3.2 app/views/carnival/base_admin/new.html.haml
carnival-0.3.1 app/views/carnival/base_admin/new.html.haml
carnival-0.3.0 app/views/carnival/base_admin/new.html.haml
carnival-0.2.8 app/views/carnival/base_admin/new.html.haml
carnival-0.2.7 app/views/carnival/base_admin/new.html.haml
carnival-0.2.6 app/views/carnival/base_admin/new.html.haml
carnival-0.2.5 app/views/carnival/base_admin/new.html.haml
carnival-0.2.4 app/views/carnival/base_admin/new.html.haml
carnival-0.2.3 app/views/carnival/base_admin/new.html.haml
carnival-0.1.10 app/views/carnival/base_admin/new.html.haml
carnival-0.2.2 app/views/carnival/base_admin/new.html.haml
carnival-0.2.1 app/views/carnival/base_admin/new.html.haml
carnival-0.2.0 app/views/carnival/base_admin/new.html.haml
carnival-0.1.9 app/views/carnival/base_admin/new.html.haml
carnival-0.1.8 app/views/carnival/base_admin/new.html.haml
carnival-0.1.7 app/views/carnival/base_admin/new.html.haml
carnival-0.1.6 app/views/carnival/base_admin/new.html.haml