Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [SF][SF2]Stylizacja formularzy, One-by-One, Checbox
mimol
post
Post #1





Grupa: Zarejestrowani
Postów: 247
Pomógł: 5
Dołączył: 10.12.2007

Ostrzeżenie: (0%)
-----


Witam, Mam kod
  1. {% for carrier in carriers %}
  2. <tr class="{% if loop.first %}first_item{% endif %} item">
  3. <td class="carrier_action radio"><input name="my_moviesbundle_orderscarriertype[carrier]" value="{{ carrier.id }}" id="my_moviesbundle_orderscarriertype_carrier_{{ carrier.id }}"{% if loop.first %} checked="checked" {% endif %}type="radio"></td>
  4. <td class="carrier_name"><label for="id_carrier2">{{ carrier }}</label></td>
  5. <td class="carrier_infos">{{ carrier.description }}</td>
  6. <td class="carrier_price"><span class="price">{{ carrier.price|price }}</span></td>
  7. </tr>
  8. {% endfor %}


Jak coś takiego mogę osiągnąć używając formularzy z symfony? Potrzebuję jakoś renderować te radio inputy pojedynczo...
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 19.09.2025 - 10:24