1 {% extends
"base.html" %}
3 {% block title %}{{ _(
"Edit distribution %s") % distro.name }}{% end block %}
6 <h1>{{ _(
"Edit distribution %s") % distro.name }}
</h1>
8 <form method=
"post" action=
"">
9 {% raw xsrf_form_html() %}
10 <table class=
"form form3">
12 <td class=
"col1">{{ _(
"Name") }}
</td>
14 <input type=
"text" name=
"name" value=
"{{ distro.name }}" />
17 {{ _(
"The fancy name of the distribution.") }}
21 <td class=
"col1">{{ _(
"Identifier") }}
</td>
26 {{ _(
"Cannot be changed.") }}
30 <td class=
"col1">{{ _(
"Tag") }}
</td>
32 <input type=
"text" name=
"tag" value=
"{{ distro.tag }}" />
35 {{ _(
"The tag is added to the package release.") }}
39 <td class=
"col1">{{ _(
"Vendor") }}
</td>
41 <input type=
"text" name=
"vendor" value=
"{{ distro.vendor }}" />
44 {{ _(
"From whom is the distribution from?") }}
48 <td class=
"col1">{{ _(
"Contact") }}
</td>
50 <input type=
"text" name=
"contact" value=
"{{ distro.contact or "" }}" />
53 {{ _(
"The email address from the vendor.") }}
57 <td class=
"col1">{{ _(
"Slogan") }}
</td>
59 <input type=
"text" name=
"slogan" value=
"{{ distro.slogan }}" />
62 {{ _(
"A short sentence that characterizes the distribution.") }}
66 <td class=
"col1">{{ _(
"Architectures") }}
</td>
68 <select name=
"arches" size=
"4" multiple
>
69 {% for arch in arches %}
70 <option value=
"{{ arch }}" {% if arch in distro.arches %}selected{% end %}
>{{ arch }}
</option>
75 {{ _(
"For which architectures should the distribution be built?") }}
79 <td class=
"col1">{{ _(
"Sources") }}
</td>
81 <select name=
"sources" size=
"4" multiple
>
82 {% for source in sources %}
83 <option value=
"{{ source.id }}" {% if source in distro.sources %}
selected=
"selected"{% end %}
>{{ source.name }}
</option>
88 {{ _(
"Which sources should be imported to the distribution?") }}
92 <td colspan=
"3" class=
"buttons">
93 <input type=
"submit" value=
"{{ _("Save
") }}" />
97 <div style=
"clear: both;"> </div>