%= title("View - #{@view.name}") %>
View | |
---|---|
<%=h @view.name %> | |
<%=h @view.description %> | |
<%= create_links_in_query(@view.sql_declaration) %> | |
<%=h @view.do_not_use_view_for_query %> Sample output: <%= (create_links_in_query @view.example_replacement_query) rescue $! %> |
|
<%=h @view.exclusive_for_group %> | |
Serialized | <%=h @view.to_zip %> |
<%= button_to "Analyze", :controller => 'survey', :table => @view.table.table_name %><%= button_to "Edit", :action => :edit, :id => @view %><%= button_to "Delete", { :action => :destroy, :id => @view }, :confirm => 'Are you sure?' %><%= button_to "List all", :action => :list %> |