Sha256: bf8dbbf062393dbb218ef8ace5dd13d6c9b8008deaa840b5c8e1fdfe378caf4e

Contents?: true

Size: 318 Bytes

Versions: 11

Compression:

Stored size: 318 Bytes

Contents

<body>

<% @attributes.each do |att| -%>
<p>
  <b><%= att.name.capitalize %>:</b>
   <%= "${#{@model}.#{att.name}!\"\"}" unless att.boolean? %>
   <%= "${#{@model}.#{att.name}?string}" if att.boolean? %>
</p>
<% end -%>

<a href="<%= "#{path}/${#{@model}.id}/edit" %>">Edit</a>
<a href="<%= path %>">Back</a>

</body>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
vraptor-scaffold-1.1.0 lib/vraptor-scaffold/generators/scaffold_generator/freemarker_generator/templates/show.erb
vraptor-scaffold-1.1.0.pre lib/vraptor-scaffold/generators/scaffold_generator/freemarker_generator/templates/show.erb
vraptor-scaffold-1.0.0 lib/generators/scaffold_generator/freemarker_generator/templates/show.erb
vraptor-scaffold-0.0.4 lib/generators/scaffold_generator/freemarker_generator/templates/show.erb
vraptor-scaffold-0.0.3 lib/generators/scaffold_generator/freemarker_generator/templates/show.erb
vraptor-scaffold-0.0.2 lib/generators/scaffold_generator/freemarker_generator/templates/show.erb
vraptor-scaffold-0.0.1 lib/generators/scaffold_generator/freemarker_generator/templates/show.erb
vraptor-scaffold-0.0.1.rc lib/generators/scaffold_generator/freemarker_generator/templates/show.erb
vraptor-scaffold-0.0.1.beta5 lib/generators/scaffold_generator/freemarker_generator/templates/show.erb
vraptor-scaffold-0.0.1.beta4 lib/generators/scaffold_generator/freemarker_generator/templates/show.erb
vraptor-scaffold-0.0.1.beta3 lib/generators/scaffold_generator/freemarker_generator/templates/show.erb