Browse Source

buttons fixed

master
Benni Baermann 4 years ago
parent
commit
36562f5855
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      input/forms.py
  2. +2
    -2
      input/templates/input/extern.html

+ 1
- 1
input/forms.py View File

@ -46,7 +46,7 @@ class InternForm(ModelForm):
exclude = ('granted', 'granted_date', 'survey_mail_send') exclude = ('granted', 'granted_date', 'survey_mail_send')
class TravelForm(ModelForm): class TravelForm(ModelForm):
# TODO: add some javascript to show/hide other-field
class Meta: class Meta:
model = Travel model = Travel
exclude = ('granted', 'granted_date', 'survey_mail_send', 'realname', 'email',) exclude = ('granted', 'granted_date', 'survey_mail_send', 'realname', 'email',)

+ 2
- 2
input/templates/input/extern.html View File

@ -29,8 +29,8 @@
{% endif %} {% endif %}
</table> </table>
{% if wizard.steps.prev %} {% if wizard.steps.prev %}
<button formnovalidate="formnovalidate" name="wizard_goto_step" type="submit" value="{{ wizard.steps.prev }}">{% trans "Zurück" %}</button>
<button formnovalidate="formnovalidate" name="wizard_goto_step" type="submit" value="{{ wizard.steps.prev }}">Zurück</button>
{% endif %} {% endif %}
<input type="submit" value="{% trans "Abschicken" %}"/>
<button type="submit" value="{% trans "Abschicken" %}">Abschicken</button>
</form> </form>
</center>{% endblock %} </center>{% endblock %}

Loading…
Cancel
Save