Sha256: 5d619563e7c57364064e4ab3d9e4d69e9caf456829a4c00947b06d3070125a2c

Contents?: true

Size: 428 Bytes

Versions: 7

Compression:

Stored size: 428 Bytes

Contents

<% model.fields.each do |k, v| %>
  <p>
    <b><%= k %>:</b>
    <%= "<%=h @#{model.s}.#{k} %" + ">" %>
  </p>
<% end %>
  <%= "<%= link_to 'Edit', #{model.rails_edit_path} %" + ">|\n <%= link_to 'Back', #{model.rails_collection_path} %" + ">"  %>
<%  model.nested_resources.each do |k, v| %>
  <p>
    <%=  "make a new #{v.s} " %>
    <%=  "<%= render :partial => '#{v.p}/form', :object => @#{v.s} %" + ">" %>
  </p>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mattknox-goaloc-0.2.2 lib/goaloc/generators/rails/show.html.erb
mattknox-goaloc-0.2.3 lib/goaloc/generators/rails/show.html.erb
mattknox-goaloc-0.2.5 lib/goaloc/generators/rails/show.html.erb
mattknox-goaloc-0.2.6 lib/goaloc/generators/rails/show.html.erb
mattknox-goaloc-0.2.7 lib/goaloc/generators/rails/show.html.erb
mattknox-goaloc-0.2.8 lib/goaloc/generators/rails/show.html.erb
mattknox-goaloc-0.2.9 lib/goaloc/generators/rails/show.html.erb