%= title @controller.controller_name.humanize %>
ID | Name | Description | View | Action | Alarm Level | ||
---|---|---|---|---|---|---|---|
<%=h sentinel.id %> | <%=h sentinel.name %> | <%=h sentinel.description %> | <%=h begin View.find(sentinel.view_id).name rescue "NOT FOUND (#{sentinel.view_id})" end %> | <%=h sentinel.action_name %> | <%=h sentinel.alarm_level %> | <%=h sentinel.send_mail? ? h(sentinel.mail_to) : "No" %> | <%= link_to image_tag( 'show.png', :title => 'Detail anzeigen'), :action => 'show', :id => sentinel %><%= link_to image_tag( 'edit.png', :title => 'Editieren' ), :action => 'edit', :id => sentinel %><%= link_to image_tag('delete.png', :title => 'Löschen'), { :action => 'destroy', :id => sentinel }, :confirm => 'Are you sure?', :method => :post %> |
<%= button_to "New #{@controller.controller_name.singularize.humanize}", :action => 'new' %> |