diff options
Diffstat (limited to 'app/views/alerts/show.html.erb')
-rw-r--r-- | app/views/alerts/show.html.erb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app/views/alerts/show.html.erb b/app/views/alerts/show.html.erb new file mode 100644 index 0000000..5dda2c9 --- /dev/null +++ b/app/views/alerts/show.html.erb @@ -0,0 +1,12 @@ +<p> + <strong>Author:</strong> + <%= @alert.author %> +</p> + +<p> + <strong>Message:</strong> + <%= @alert.message %> +</p> + +<%= link_to 'Edit', edit_alert_path(@alert) %> | +<%= link_to 'Back', alerts_path %> |