Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #720 from crdoconnor/master
BUG 1196293 : Remove rating stars from edit review reply
- Loading branch information
Showing
7 changed files
with
132 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
{% from "includes/forms.html" import pretty_field, required_note %} | ||
<div class="hidden"> | ||
<form method="post" id="review-edit-form" action="#" | ||
<form method="post" id="{{ form.form_id }}-form" action="#" | ||
class="review article review-form prettyform"> | ||
{{ csrf() }} | ||
<fieldset> | ||
<ul> | ||
{{ pretty_field(form.title, _('Title')) }} | ||
{{ pretty_field(form.rating, _('Rating')) }} | ||
{{ pretty_field(form.body, _('Review')) }} | ||
{% for field in form %} | ||
{{ pretty_field(field, field.label) }} | ||
{% endfor %} | ||
</ul> | ||
</fieldset> | ||
<footer> | ||
{{ required_note() }} | ||
<input type="submit" value="{{ _('Submit review') }}"> | ||
{{ _('or') }} <a href="#" id="review-edit-cancel">{{ _('Cancel') }}</a> | ||
<input id="{{ form.form_id }}-submit" type="submit" value="{{ _('Submit review') }}"> | ||
{{ _('or') }} <a href="#" id="{{ form.form_id }}-cancel">{{ _('Cancel') }}</a> | ||
</footer> | ||
</form> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters