title: Django tabular inline display
body: <p>Is it possible to change the display of inlines in order to change it to <a href="https://creately.com/diagram/h0gjalof1/YZluiXwm7BlpygwNW6j4MvNDJN8=" rel="nofollow">this</a>? I was thinking of changing the admin template file "tabular.html", is it going to be possible or should I change something else?</p>
  
  <p><strong>Update</strong></p>
  
  <p>Ok, I've been trying to edit the tabular.html but my experience with Django isn't enough to understand how/where to make the necessary changes... Any clue of where I should start?
  Shouldn't I be changing the CSS also?
  I guess that {{ field.field }} automatically renders the dropdown menu (Django admin default) if I'm understand this correctly...</p>
  
  <p><strong>Update 2</strong></p>
  
  <p>I was able to change the second column to the functionality that I wanted but I think that for the first one it's going to be trickier... Current <a href="http://img684.imageshack.us/img684/9548/screenshot20120401at104.png" rel="nofollow">status</a></p>
  
  <p><strong>Update 3</strong></p>
  
  <p>One hack that I think would work is to display on each of the inlines only one of the options of the first field and then deactivate the "add another option". How can I iterate on the options in "tabular.html" ?</p>
  
  <p><strong>Update 4</strong></p>
  
  <p>I guess the trick should be done here... How can I iterate on the field choices in order to display only one choice per line?</p>
  
  <pre><code>{% for fieldset in inline_admin_form %}
            {% for line in fieldset %}
              {% for field in line %}
              {{ field.get_choices_display }}
                &lt;td class="{{ field.field.name }}"&gt;
                {% if field.is_readonly %}
                    &lt;p&gt;{{ field.contents }}&lt;/p&gt;
                {% else %}
                    {{ field.field.errors.as_ul }}
                    {{ field.field }}
                {% endif %}
                &lt;/td&gt;
              {% endfor %}
            {% endfor %}
          {% endfor %}
  </code></pre>