app/views/ponytail/migrations/_table.html.erb in ponytail-0.1.0 vs app/views/ponytail/migrations/_table.html.erb in ponytail-0.2.0

- old
+ new

@@ -1,9 +1,17 @@ -<div class="pt_table"><%= table.name %></div> -<div class="pt_columns"> - <% table.columns.each do |column| %> - <div class="pt_column"> - <div class="pt_column_type">t.<%= column.type %></div> - <div class="pt_column_name"><%= column.name %></div> - </div> -<% end %> +<div class="pt_table"> + <div class="pt_table_name"> + <span><%= table.name %></span> + <input type="text" /> + </div> + <div> + <a href="#" class="pt_drop_table">drop</a> + </div> + <div class="pt_columns"> + <% table.columns.each do |column| %> + <div class="pt_column"> + <div class="pt_column_type"><%= column.type %></div> + <div class="pt_column_name"><%= column.name %></div> + </div> + <% end %> + </div> </div>