Hallo,
bezüglich scaffold hätte ich eine Frage.
In welcher Datei wird eigentlich festgelegt, welche html-Tags für die
scaffold crud *.html.erb Dateien verwendet werden und kann man die Tags
dort ändern?
Also z.B. für
show.html.erb
<p>
<b>First name:</b>
<%=h @contact.first_name %>
</p>
<p>
<b>Second name:</b>
<%=h @contact.second_name %>
</p> ...
oder für
index.html.erb
<% for contact in @contacts %>
<tr>
<td><%=h contact.name %></td>
<td><%=h contact.first_name %></td>
<td><%=h contact.second_name %></td>
usw.
Vielen Dank im voraus!
Gruß
Herman
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
rubyonrails-ug mailing list
[email protected]
http://mailman.headflash.com/mailman/listinfo/rubyonrails-ug