diff options
Diffstat (limited to 'app/views/gs_parameters/index.html.erb')
-rw-r--r-- | app/views/gs_parameters/index.html.erb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/app/views/gs_parameters/index.html.erb b/app/views/gs_parameters/index.html.erb new file mode 100644 index 0000000..dee6838 --- /dev/null +++ b/app/views/gs_parameters/index.html.erb @@ -0,0 +1,29 @@ +<h1>Listing gs_parameters</h1> + +<table> + <tr> + <th>Name</th> + <th>Section</th> + <th>Value</th> + <th>Class type</th> + <th></th> + <th></th> + <th></th> + </tr> + +<% @gs_parameters.each do |gs_parameter| %> + <tr> + <td><%= gs_parameter.name %></td> + <td><%= gs_parameter.section %></td> + <td><%= gs_parameter.value %></td> + <td><%= gs_parameter.class_type %></td> + <td><%= link_to 'Show', gs_parameter %></td> + <td><%= link_to 'Edit', edit_gs_parameter_path(gs_parameter) %></td> + <td><%= link_to 'Destroy', gs_parameter, confirm: 'Are you sure?', method: :delete %></td> + </tr> +<% end %> +</table> + +<br /> + +<%= link_to 'New Gs parameter', new_gs_parameter_path %> |