source: de.wigbels.ruby/contact/app/views/admincontact/_form.rhtml@ 0f6d75f

Last change on this file since 0f6d75f was 7b7d827, checked in by njw <njw@…>, 11 years ago

opened projects: hothotwrite and contact

  • Property mode set to 100644
File size: 1.2 KB
Line 
1<%= error_messages_for 'contact' %>
2
3<!--[form:contact]-->
4
5 <tr>
6 <td><label for="contact_name">Name</label></td>
7 <td><%= text_field 'contact', 'name' %></td>
8 <td><label for="contact_name">Vorname</label></td>
9 <td><%= text_field 'contact', 'surname' %></td>
10 </tr>
11
12 <tr>
13 <td><label for="contact_name">Neuer Name</label></td>
14 <td><%= text_field 'contact', 'newname' %></td>
15 <td></td>
16 <td></td>
17 </tr>
18
19 <tr>
20 <td><label for="contact_email">EMail</label></td>
21 <td><%= text_field 'contact', 'email' %></td>
22 <td><label for="contact_url">Url</label></td>
23 <td><%= text_field 'contact', 'url' %></td>
24 </tr>
25
26 <tr>
27 <td><label for="contact_free_text">Free Text</label></td>
28 <td><%= text_area 'contact', 'free_text', "cols"=>22, "rows"=>10 %></td>
29 <td></td>
30 <td></td>
31 </tr>
32
33 <tr>
34 <td><label for="contact_contactgroup_id">Select Group</label></td>
35 <td><%= collection_select(:contact, :contactgroup_id, @contactgroups, :id, :groupname, options ={:prompt => "Select a group"}, :class =>"contactgroup") %></td>
36 <td></td>
37 <td></td>
38 </tr>
39
40<!--[eoform:contact]-->
Note: See TracBrowser for help on using the repository browser.