diff options
Diffstat (limited to 'app/views/snippets/show.html.erb')
-rw-r--r-- | app/views/snippets/show.html.erb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app/views/snippets/show.html.erb b/app/views/snippets/show.html.erb new file mode 100644 index 0000000..9e59d7a --- /dev/null +++ b/app/views/snippets/show.html.erb @@ -0,0 +1,14 @@ +<p id="notice"><%= notice %></p> + +<p> + <strong>Title:</strong> + <%= @snippet.title %> +</p> + +<p> + <strong>Code:</strong> + <%= @snippet.code %> +</p> + +<%= link_to 'Edit', edit_snippet_path(@snippet) %> | +<%= link_to 'Back', snippets_path %> |