Sha256: ad14e94936429775169669900081fd8936e3298a1698eee6839b3a56086df1ed

Contents?: true

Size: 372 Bytes

Versions: 19

Compression:

Stored size: 372 Bytes

Contents

<%%- model_class = <%= model.name.sub(/\ATemplate::/, '::Template::') %> -%>
<div class="page-header">
  <h1><%%=t '.title', :default => [:'helpers.titles.new', 'New %{model}'], :model => model_class.model_name.human.titleize %></h1>
</div>
<%%= render '<%= model.full_resource_name.pluralize %>/form', <%= model.full_resource_name %>: @<%= model.full_resource_name %> %>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
model_base_generators-0.4.0 lib/templates/erb/scaffold/new.html.erb
model_base_generators-0.3.9 lib/templates/erb/scaffold/new.html.erb
model_base_generators-0.3.8 lib/templates/erb/scaffold/new.html.erb
model_base_generators-0.3.7 lib/templates/erb/scaffold/new.html.erb
model_base_generators-0.3.6 lib/templates/erb/scaffold/new.html.erb
model_base_generators-0.3.5 lib/templates/erb/scaffold/new.html.erb
model_base_generators-0.3.4 lib/templates/erb/scaffold/new.html.erb
model_base_generators-0.3.3 lib/templates/erb/scaffold/new.html.erb
model_base_generators-0.3.2 lib/templates/erb/scaffold/new.html.erb
model_base_generators-0.3.1 lib/templates/erb/scaffold/new.html.erb
model_base_generators-0.3.0 lib/templates/erb/scaffold/new.html.erb
model_base_generators-0.2.4 lib/templates/erb/scaffold/new.html.erb
model_base_generators-0.2.3 lib/templates/erb/scaffold/new.html.erb
model_base_generators-0.2.2 lib/templates/erb/scaffold/new.html.erb
model_base_generators-0.2.1 lib/templates/erb/scaffold/new.html.erb
model_base_generators-0.2.0 lib/templates/erb/scaffold/new.html.erb
model_base_generators-0.1.2 lib/templates/erb/scaffold/new.html.erb
model_base_generators-0.1.1 lib/templates/erb/scaffold/new.html.erb
model_base_generators-0.1.0 lib/templates/erb/scaffold/new.html.erb