Sha256: 502d92e68d65f5ff0188140f6e4ea405156024c38373926b24f43e2590ee2f0a

Contents?: true

Size: 437 Bytes

Versions: 12

Compression:

Stored size: 437 Bytes

Contents

module <%= @generation_app_name %>::Views
  def view_<%= @generation_view_name %>
    div.<%= @generation_view_name %> do
      #...
      a 'List', :href => R(List<%= @generation_class_name %>)
    end
    div.<%= @generation_view_name %>_form do
      form(:method => 'post', :action => R(View<%= @generation_class_name %>, @<%= @generation_view_name %>.id)) do
        # ...
        input :type => 'submit'
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
bivouac-0.0.7 lib/bivouac/template/generate/scaffold_view_view_goh.rb
bivouac-0.0.5 lib/bivouac/template/generate/scaffold_view_view.rb
bivouac-0.0.6 lib/bivouac/template/generate/scaffold_view_view_goh.rb
bivouac-0.0.9 lib/bivouac/template/generate/scaffold_view_view_goh.rb
bivouac-0.1.0 lib/bivouac/template/generate/scaffold_view_view_goh.rb
bivouac-0.1.1 lib/bivouac/template/generate/scaffold_view_view_goh.rb
bivouac-0.0.8 lib/bivouac/template/generate/scaffold_view_view_goh.rb
bivouac-0.1.2 lib/bivouac/template/generate/scaffold_view_view_goh.rb
bivouac-0.1.3 lib/bivouac/template/generate/scaffold_view_view_goh.rb
bivouac-0.1.4 lib/bivouac/template/generate/scaffold_view_view_goh.rb
bivouac-0.1.5 lib/bivouac/template/generate/scaffold_view_view_goh.rb
bivouac-0.1.6 lib/bivouac/template/generate/scaffold_view_view_goh.rb