Commit 2e435c59 authored by Jon Mountjoy's avatar Jon Mountjoy

Improve look of widgets listing

parent 000dfa55
<div class="container">
<h1>Editing widget</h1>
<%= render 'form' %>
<%= link_to 'Show', @widget %> |
<%= link_to 'Back', widgets_path %>
</div>
\ No newline at end of file
<div class="container">
<h1>Listing widgets</h1>
<table>
<table class="table">
<thead>
<tr>
<th>Name</th>
......@@ -27,3 +28,5 @@
<br>
<%= link_to 'New Widget', new_widget_path %>
</div>
\ No newline at end of file
<div class="container">
<h1>New widget</h1>
<%= render 'form' %>
<%= link_to 'Back', widgets_path %>
</div>
\ No newline at end of file
<div class="container">
<p id="notice"><%= notice %></p>
<p>
......@@ -17,3 +19,5 @@
<%= link_to 'Edit', edit_widget_path(@widget) %> |
<%= link_to 'Back', widgets_path %>
</div>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment