Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Add another based on language settings #4

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,6 @@ dmypy.json

# Pyre type checker
.pyre/

# Pycharm stuff
.idea/
4 changes: 2 additions & 2 deletions forms_fieldset/templates/forms_fieldset/tabular.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ <h2 style="background-color: {{ color }}">{{ label }}</h2>
</tr>
{% endfor %}
<tr class="add-row" id="link-add-row"><td colspan="{{ inline_formset.extra|add:'1' }}">
<a href="#" id="add-info">Ajout supplémentaire</a></td></tr>
<a href="#" id="add-info">{{ title_add }}</a></td></tr>
</tbody>
</table>
</fieldset>
Expand Down Expand Up @@ -71,4 +71,4 @@ <h2 style="background-color: {{ color }}">{{ label }}</h2>
target.parentNode.setAttribute('colspan', next_id);
}
</script>
</div>
</div>