Sha256: c3a2a5ddf882a09822c83bf78540111b812de4e7468641627fe9482ff86c92a0

Contents?: true

Size: 215 Bytes

Versions: 4

Compression:

Stored size: 215 Bytes

Contents

- model_class = @<%= resource_name %>.class
%h1=t '.title', :default => t('helpers.titles.new', :model => model_class.model_name.human, :default => "New #{model_class.model_name.human}")
= render :partial => "form"

Version data entries

4 entries across 4 versions & 3 rubygems

Version Path
rails-cancan-bootstrap-scaffold-0.0.1 lib/generators/cancan_bootstrap/views/templates/new.html.haml
twitter-bootstrap-rails-ajax-0.0.1 lib/generators/bootstrap/themed/templates/new.html.haml
twitter-bootstrap-rails-2.0.7 lib/generators/bootstrap/themed/templates/new.html.haml
twitter-bootstrap-rails-2.0.6 lib/generators/bootstrap/themed/templates/new.html.haml