<%= _lc( 'EDIT_APPOINTMENT' ) %> <%=raw app.core.View.getTemplate( 'gui-header-help-button' ) %>

<% var mStart = a.getMomentStart(); %> <% var mEnd = a.getMomentEnd(); %> <% var mDeadline = a.getMomentDeadline(); %> <% var mReject = a.getMomentDeadlineReject(); %>
<% var mTeam = new app.model.Group( team ) %>

<%= _lc( 'APPOINTMENT_ICON' ) %>

<%= _lc( 'VALIDATION_INPUT_REQUIRED' ) %>
<% var categories = mTeam.getAdminCourseCategoriesForProfile( currentProfile ); %>
<%= _lc( 'VALIDATION_SELECT_AT_LEAST_ONE_CATEGORY' ) %>
<%=raw app.core.View.getTemplate( 'gui-form-help', { help : _lc( 'FORMHELP_APPOINTMENT_CATEGORY' ) } ) %> <% if ( 0 === categories.length ) { %> <% } %>

>
>
<%= _lc( 'MAX_BOOKERS' ) %>: 0
<%= _lc( 'VALIDATION_APPOINTMENT_STARTTIME_CANNOT_BE_IN_PAST' ) %>
<%= _lc( 'VALIDATION_APPOINTMENT_ENDTIME_CANNOT_BE_BEFORE_STARTTIME' ) %>
<%= _lc( 'VALIDATION_APPOINTMENT_DEADLINE_CANNOT_BE_AFTER_STARTTIME' ) %>
<%=raw app.core.View.getTemplate( 'gui-form-help', { help : _lc( 'FORMHELP_APPOINTMENT_DEADLINE' ) } ) %>
<%= _lc( 'GENERAL_VALIDATION_REQUIRED' ) %>
<%= _lc( 'GENERAL_VALIDATION_REQUIRED' ) %>
<%=raw app.core.View.getTemplate( 'gui-form-help', { help : _lc( 'FORMHELP_APPOINTMENT_DEADLINE_REJECT' ) } ) %>
<% if ( 0 < a.getNumAttendeesAccepted() || 0 < a.getNumAttendeesDeclined() ) { %>

<%= _lc( 'UPDATE_APPOINTMENT_CURRENT_ATTENDEE_STATUS', [ a.getNumAttendeesAccepted(), a.getNumAttendeesWaiting() ] ) %>

<% } %> <%=raw app.core.View.getTemplate( 'gui-form-help', { help : _lc( 'FORMHELP_APPOINTMENT_MAX_ATTENDEES' ) } ) %>
<% if ( 0 < a.getNumAttendeesAccepted() || 0 < a.getNumAttendeesDeclined() ) { %>

<%= _lc( 'RESET_ATTENDEE_LIST_INFO' ) %>

<% } %>