Sha256: 2c8f887259175a59a8673771d6daa35064481058ad1db7e7e0952dcf42c247c3

Contents?: true

Size: 358 Bytes

Versions: 2

Compression:

Stored size: 358 Bytes

Contents

<body>

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

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

</body>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vraptor-scaffold-1.2.1 lib/vraptor-scaffold/generators/scaffold/template_engine_generator/freemarker_generator/templates/show.erb
vraptor-scaffold-1.2.0 lib/vraptor-scaffold/generators/scaffold/template_engine_generator/freemarker_generator/templates/show.erb