Repository :
http://git.fedorahosted.org/cgit/copr.git
On branch : master
---------------------------------------------------------------
commit f018838c383e2e99dff747c92bc8686af9e17fa5
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Wed Oct 30 11:14:17 2013 +0100
UX - add placeholders
---------------------------------------------------------------
.../coprs/templates/coprs/_coprs_forms.html | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/coprs_frontend/coprs/templates/coprs/_coprs_forms.html
b/coprs_frontend/coprs/templates/coprs/_coprs_forms.html
index 4d3e7ab..fb7e368 100644
--- a/coprs_frontend/coprs/templates/coprs/_coprs_forms.html
+++ b/coprs_frontend/coprs/templates/coprs/_coprs_forms.html
@@ -13,8 +13,8 @@
{{ form.csrf_token }}
{{ render_field(form.id, hidden = True) }}
{{ render_field(form.name, label='Project Name', required = True,
class="required") }}
- {{ render_field(form.description, rows=5, cols=50) }}
- {{ render_field(form.instructions, rows=5, cols=50) }}
+ {{ render_field(form.description, rows=5, cols=50, placeholder='Optional -
describe your project briefly.') }}
+ {{ render_field(form.instructions, rows=5, cols=50, placeholder='Optional -
describe how your project can be installed. Link to wiki is good as well.') }}
<dt class="field-label required">Chroots</dt>
{% if form._mock_chroots_error %}
<p class="form-error">{{ form._mock_chroots_error }}</p>
@@ -28,9 +28,9 @@
{% endfor %}
</table>
{% endfor %}
- {{ render_field(form.repos, rows=5, cols=50) }}
+ {{ render_field(form.repos, rows=5, cols=50, placeholder='Optional - URL to
additional yum repos, which can be used during build. Space separated.') }}
{% if copr is none %}{# we're creating the copr, so display initial builds area
#}
- {{ render_field(form.initial_pkgs, rows=5, cols=50) }}
+ {{ render_field(form.initial_pkgs, rows=5, cols=50, placeholder='Optional -
list of src.rpm to build initially. Can be skipped and submited later.') }}
{% endif %}
<dt><input type="submit" value="{% if copr %}Update{% else
%}Create{% endif %}"></dt>
</dl>