summaryrefslogtreecommitdiff
path: root/app/views/gs_parameters/index.html.erb
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-05 12:42:53 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-05 12:42:53 +0100
commit01f2ab4e3d5694de81f6ebb594e0e852616ebbd9 (patch)
tree48613822df4082b080e1ecb68a6c38c1fbdadbfb /app/views/gs_parameters/index.html.erb
parent380a4cdfe5cfa573fb916ca7c2145a6062ef8198 (diff)
Added GsParameter model as a replacement for gemeinschaft_parameters.rb
Diffstat (limited to 'app/views/gs_parameters/index.html.erb')
-rw-r--r--app/views/gs_parameters/index.html.erb29
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 %>