Fix and generalize styling for member form macro

Only display permissions with 'Edit' value
Delete unused files and rename MemberForm macro file
This commit is contained in:
leigh-mil
2020-01-06 13:54:12 -05:00
parent 79b2773852
commit c9d0c64c1f
10 changed files with 75 additions and 139 deletions

View File

@@ -9,7 +9,7 @@
{{ Icon('info') }}
{{ "portfolios.admin.permissions_info" | translate }}
</a>
<div class="application-perms">
<div class="portfolio-perms">
{% if new %}
{% set app_mgmt = form.perms_app_mgmt.name %}
{% set funding = form.perms_funding.name %}
@@ -30,7 +30,7 @@
{% endmacro %}
{% macro InfoFields(member_form) %}
<div class="application-member__user-info">
<div class="user-info">
{{ TextInput(member_form.first_name, validation='requiredField', optional=False) }}
{{ TextInput(member_form.last_name, validation='requiredField', optional=False) }}
{{ TextInput(member_form.email, validation='email', optional=False) }}