Sha256: 3050e6863038e1b4c8e36ee79e47bf7c87d211e069883e6fa641cf8f07b2067f

Contents?: true

Size: 231 Bytes

Versions: 2

Compression:

Stored size: 231 Bytes

Contents

%h1
  = t("New") 
  <%= singular_name.humanize %>

- form_for(@<%= singular_name %>) do |form|
  = render :partial => 'form', :locals => {:form => form}
  %p= form.submit t("create")

%p= link_to t('back'), <%= plural_name %>_path

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
i18n_shoulda_generator-1.0.0 rails_generators/shoulda_scaffold/templates/haml/new.html.haml
shoulda_generator-1.3.4 rails_generators/shoulda_scaffold/templates/haml/new.html.haml