{% if selected_disk is defined and setup_data is defined %}
{{ disk_form.hidden_tag() }} {{ disk_form.ips() }} {{ disk_form.hidden_tag() }}
{{ _('Disk') }} {{ _('Partition Table Type') }} {{ _('Total Disk Size') }} (MiB)
{{ disk_form.disk(class_="form-control", onchange="handleDiskChange(this)") }} {% if readonly_disk_inspector is defined %} {{ disk_form.disk_type(class_="form-control", id="diskType", readonly="readonly") }} {% else %} {{ disk_form.disk_type(class_="form-control", id="diskType") }} {% endif %} {{ disk_size }}
{% if show_part_images is defined %} {% endif %} {% for partition in disk_form.partitions %} {{ partition.hidden_tag() }} {% if show_part_images is defined %} {% endif %} {% endfor %}
{{ _('Partition') }} {{ _('Type') }} {{ _('Filesystem') }} {{ _('Size') }} (MiB){{ _('Image') }}
{{ partition.partition.data }} {% if readonly_disk_inspector is defined %} {{ partition.part_type(class_="form-control", readonly="readonly") }} {% else %} {{ partition.part_type(class_="form-control") }} {% endif %} {% if readonly_disk_inspector is defined %} {{ partition.fs(class_="form-control", readonly="readonly") }} {% else %} {{ partition.fs(class_="form-control") }} {% endif %} {% if readonly_disk_inspector is defined %} {{ partition.size(class_="form-control", oninput="handleEdit(this)", readonly="readonly") }} {% else %} {{ partition.size(class_="form-control", oninput="handleEdit(this)") }} {% endif %}
{% if not readonly_disk_inspector is defined %} {% endif %}
{{ _('Partition graph') }}
{% endif %}