Index: de.wigbels.ruby/contact/app/views/admincontact/_form.rhtml
===================================================================
--- de.wigbels.ruby/contact/app/views/admincontact/_form.rhtml	(revision 7b7d827c4fbf1c46a6aab6ad9e1ae735e3bdb79d)
+++ de.wigbels.ruby/contact/app/views/admincontact/_form.rhtml	(revision 7b7d827c4fbf1c46a6aab6ad9e1ae735e3bdb79d)
@@ -0,0 +1,40 @@
+<%= error_messages_for 'contact' %>
+
+<!--[form:contact]-->
+
+    <tr>
+      <td><label for="contact_name">Name</label></td>
+      <td><%= text_field 'contact', 'name'  %></td>
+      <td><label for="contact_name">Vorname</label></td>
+      <td><%= text_field 'contact', 'surname'  %></td>
+    </tr>
+    
+    <tr>
+      <td><label for="contact_name">Neuer Name</label></td>
+      <td><%= text_field 'contact', 'newname'  %></td>
+      <td></td>
+      <td></td>
+    </tr>
+
+    <tr>
+      <td><label for="contact_email">EMail</label></td>
+      <td><%= text_field 'contact', 'email'  %></td>
+      <td><label for="contact_url">Url</label></td>
+      <td><%= text_field 'contact', 'url'  %></td>
+    </tr>
+
+    <tr>
+      <td><label for="contact_free_text">Free Text</label></td>
+      <td><%= text_area 'contact', 'free_text', "cols"=>22, "rows"=>10 %></td>
+      <td></td>
+      <td></td>
+    </tr>
+
+    <tr>
+      <td><label for="contact_contactgroup_id">Select Group</label></td>
+      <td><%= collection_select(:contact, :contactgroup_id, @contactgroups, :id, :groupname, options ={:prompt => "Select a group"}, :class =>"contactgroup") %></td>
+      <td></td>
+      <td></td>
+    </tr>
+
+<!--[eoform:contact]-->
Index: de.wigbels.ruby/contact/app/views/admincontact/edit.rhtml
===================================================================
--- de.wigbels.ruby/contact/app/views/admincontact/edit.rhtml	(revision 7b7d827c4fbf1c46a6aab6ad9e1ae735e3bdb79d)
+++ de.wigbels.ruby/contact/app/views/admincontact/edit.rhtml	(revision 7b7d827c4fbf1c46a6aab6ad9e1ae735e3bdb79d)
@@ -0,0 +1,17 @@
+<h1>Editing contact</h1>
+
+<table>
+<% form_tag :action => 'update', :id => @contact do %>
+  <%= render :partial => 'form' %>
+	<tr>
+		<td><label>Action</label></td>
+		<td><%= submit_tag 'Submit' %></td>
+	</tr>
+<% end %>
+    <tr>
+      <td><%= link_to 'Show', :action => 'show', :id => @contact %></td>
+      <td><%= link_to 'Back', :action => 'list' %></td>
+      <td></td>
+      <td></td>
+    </tr>
+</table>
Index: de.wigbels.ruby/contact/app/views/admincontact/list.rhtml
===================================================================
--- de.wigbels.ruby/contact/app/views/admincontact/list.rhtml	(revision 7b7d827c4fbf1c46a6aab6ad9e1ae735e3bdb79d)
+++ de.wigbels.ruby/contact/app/views/admincontact/list.rhtml	(revision 7b7d827c4fbf1c46a6aab6ad9e1ae735e3bdb79d)
@@ -0,0 +1,31 @@
+<h1>Listing contacts</h1>
+
+<table>
+  <tr>
+  <% for column in Contact.content_columns %>
+    <th><%= column.human_name %></th>
+  <% end %>
+  </tr>
+  
+<% for contact in @contacts %>
+  <tr>
+  <% for column in Contact.content_columns %>
+    <td><%=h contact.send(column.name) %></td>
+  <% end %>
+    <td><%= link_to 'Show', :action => 'show', :id => contact %></td>
+    <td><%= link_to 'Edit', :action => 'edit', :id => contact %></td>
+    <td><%= link_to 'Destroy', { :action => 'destroy', :id => contact }, :confirm => 'Are you sure?', :method => :post %></td>
+  </tr>
+<% end %>
+  <tr>
+	<td><%= link_to 'New contact', :action => 'new' %></td>
+	<td></td>
+	<td></td>
+	<td></td>
+	<td></td>
+	<td></td>
+	<td></td>
+	<td></td>	
+  </tr>
+</table>
+
Index: de.wigbels.ruby/contact/app/views/admincontact/new.rhtml
===================================================================
--- de.wigbels.ruby/contact/app/views/admincontact/new.rhtml	(revision 7b7d827c4fbf1c46a6aab6ad9e1ae735e3bdb79d)
+++ de.wigbels.ruby/contact/app/views/admincontact/new.rhtml	(revision 7b7d827c4fbf1c46a6aab6ad9e1ae735e3bdb79d)
@@ -0,0 +1,13 @@
+<h1>New contact</h1>
+
+<table>
+<% form_tag :action => 'create' do %>
+  <%= render :partial => 'form' %>
+    <tr>
+      <td><%= submit_tag "Create" %></td>
+      <td><%= link_to 'Back', :action => 'list' %></td>
+      <td></td>
+      <td></td>
+    </tr>
+<% end %>
+</table>
Index: de.wigbels.ruby/contact/app/views/admincontact/show.rhtml
===================================================================
--- de.wigbels.ruby/contact/app/views/admincontact/show.rhtml	(revision 7b7d827c4fbf1c46a6aab6ad9e1ae735e3bdb79d)
+++ de.wigbels.ruby/contact/app/views/admincontact/show.rhtml	(revision 7b7d827c4fbf1c46a6aab6ad9e1ae735e3bdb79d)
@@ -0,0 +1,12 @@
+<table>
+<% for column in Contact.content_columns %>
+	<tr>
+		<td><b><%= column.human_name %>:</b></td>
+		<td><%=h @contact.send(column.name) %></td>
+	</tr>
+<% end %>
+	<tr>
+      <td><%= link_to 'Edit', :action => 'edit', :id => @contact %></td>
+      <td><%= link_to 'Back', :action => 'list' %></td>
+	</tr>
+</table>
