Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 15284 | Rev 15460 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 15284 Rev 15333
Línea 1... Línea 1...
1
<?php 
1
<?php
-
 
2
 
2
use LeadersLinked\Model\CompanyUser;
3
use LeadersLinked\Model\CompanyUser;
Línea 3... Línea 4...
3
 
4
 
4
$acl            = $this->viewModel()->getRoot()->getVariable('acl');
5
$acl            = $this->viewModel()->getRoot()->getVariable('acl');
Línea 34... Línea 35...
34
$this->inlineScript()->appendFile($this->basePath('plugins/jquery-validation/jquery.validate.js'));
35
$this->inlineScript()->appendFile($this->basePath('plugins/jquery-validation/jquery.validate.js'));
35
$this->inlineScript()->appendFile($this->basePath('plugins/jquery-validation/additional-methods.js'));
36
$this->inlineScript()->appendFile($this->basePath('plugins/jquery-validation/additional-methods.js'));
36
$this->inlineScript()->appendFile($this->basePath('plugins/jquery-validation/localization/messages_es.js'));
37
$this->inlineScript()->appendFile($this->basePath('plugins/jquery-validation/localization/messages_es.js'));
Línea 37... Línea 38...
37
 
38
 
38
$this->headLink()->appendStylesheet($this->basePath('plugins/datatables-bs4/css/dataTables.bootstrap4.min.css'));
-
 
Línea 39... Línea 39...
39
$this->headLink()->appendStylesheet($this->basePath('plugins/datatables-responsive/css/responsive.bootstrap4.min.css'));
39
$this->headLink()->appendStylesheet($this->basePath('plugins/datatables-bs4/css/dataTables.bootstrap4.min.css'));
40
 
40
 
41
$this->inlineScript()->appendFile($this->basePath('plugins/datatables/jquery.dataTables.min.js'));
-
 
42
$this->inlineScript()->appendFile($this->basePath('plugins/datatables-bs4/js/dataTables.bootstrap4.min.js'));
-
 
Línea 43... Línea 41...
43
$this->inlineScript()->appendFile($this->basePath('plugins/datatables-responsive/js/dataTables.responsive.min.js'));
41
$this->inlineScript()->appendFile($this->basePath('plugins/datatables/jquery.dataTables.min.js'));
44
$this->inlineScript()->appendFile($this->basePath('plugins/datatables-responsive/js/responsive.bootstrap4.min.js'));
42
$this->inlineScript()->appendFile($this->basePath('plugins/datatables-bs4/js/dataTables.bootstrap4.min.js'));
Línea 342... Línea 340...
342
                {
340
                {
343
                    'targets': -1,
341
                    'targets': -1,
344
                    'orderable': false,
342
                    'orderable': false,
345
                    'render' : function ( data, type, row ) {
343
                    'render' : function ( data, type, row ) {
346
                        s = '';
344
                        s = '';
-
 
345
 
-
 
346
                        $('#gridTable_wrapper .row:nth-child(2) .col-sm-12').addClass( "table table-responsive" );
Línea 347... Línea 347...
347
                   
347
                   
348
                        if(allowAccept && data['link_accept']) {
348
                        if(allowAccept && data['link_accept']) {
349
                            s = s + '<button class="btn btn-sm btn-accept btn-primary" style="margin-top: 5px" data-href="' + data['link_accept']+ '" data-toggle="confirmation" title="LABEL_ACCEPT"><i class="fa fa-check"></i> LABEL_ACCEPT </button><br>';
349
                            s = s + '<button class="btn btn-sm btn-accept btn-primary" style="margin-top: 5px" data-href="' + data['link_accept']+ '" data-toggle="confirmation" title="LABEL_ACCEPT"><i class="fa fa-check"></i> LABEL_ACCEPT </button><br>';
350
                        }
350
                        }
Línea 803... Línea 803...
803
 
803
 
804
    });
804
    });
805
JS;
805
JS;
806
$this->inlineScript()->captureEnd();
806
$this->inlineScript()->captureEnd();
807
$this->headLink()->appendStylesheet('/css/style.css');
807
$this->headLink()->appendStylesheet('/css/style.css');
808
?>			
808
?>
809
			
809
 
810
<!-- Content Header (Page header) -->
810
<!-- Content Header (Page header) -->
811
<section class="content-header">
811
<section class="content-header">
812
	<div class="container-fluid">
812
    <div class="container-fluid">
813
    	<div class="row mb-2">
813
        <div class="row mb-2">
814
        	<div class="col-sm-12">
814
            <div class="col-sm-12">
815
            	<h1>LABEL_USERS</h1>
815
                <h1>LABEL_USERS</h1>
816
			</div>
816
            </div>
817
		</div>
817
        </div>
818
	</div><!-- /.container-fluid -->
818
    </div><!-- /.container-fluid -->
Línea 819... Línea 819...
819
</section>
819
</section>
820
 
820
 
821
<section class="content">
821
<section class="content">
822
	<div class="container-fluid">
822
    <div class="container-fluid">
823
    	<div class="row">
823
        <div class="row">
824
        	<div class="col-12">
824
            <div class="col-12">
825
				<div class="card">                    
825
                <div class="card">
826
					<div class="card-body">
826
                    <div class="card-body">
827
						<div class="row">
827
                        <div class="row">
828
							 <div class="col-md-12 col-sm-12">
828
                            <div class="col-md-12 col-sm-12">
829
                                <form name="form-filter" id="form-filter">
829
                                <form name="form-filter" id="form-filter">
830
                                    <div class="form-group">
830
                                    <div class="form-group">
831
                                        <label for="status">LABEL_STATUS</label>
831
                                        <label for="status">LABEL_STATUS</label>
Línea 838... Línea 838...
838
                                            <option value="<?php echo CompanyUser::STATUS_CANCELLED ?>">LABEL_CANCELLED</option>
838
                                            <option value="<?php echo CompanyUser::STATUS_CANCELLED ?>">LABEL_CANCELLED</option>
839
                                            <option value="<?php echo CompanyUser::STATUS_REJECTED ?>">LABEL_REJECTED</option>
839
                                            <option value="<?php echo CompanyUser::STATUS_REJECTED ?>">LABEL_REJECTED</option>
840
                                        </select>
840
                                        </select>
841
                                    </div>
841
                                    </div>
842
                                </form>
842
                                </form>
843
							 </div>
-
 
844
                             <div
843
                            </div>
845
                                class="col-12 text-right p-2" 
844
                            <div class="col-12 text-right p-2">
846
                            >
-
 
847
                                <div style="float:right;">
845
                                <div style="float:right;">
848
                                    <button type="button" class="btn btn-sm btn-info btn-refresh"><i class="fa fa-refresh"></i></button>
846
                                    <button type="button" class="btn btn-sm btn-info btn-refresh"><i class="fa fa-refresh"></i></button>
849
                                    <?php if($allowUpload) : ?>
847
                                    <?php if ($allowUpload) : ?>
850
                                    <button type="button" class="btn btn-sm btn-primary btn-upload"><i class="fa fa-upload"></i> LABEL_UPLOAD  </button>
848
                                        <button type="button" class="btn btn-sm btn-primary btn-upload"><i class="fa fa-upload"></i> LABEL_UPLOAD </button>
851
                                    <?php endif; ?>
849
                                    <?php endif; ?>
852
                                    <?php if($allowInvite) : ?>
850
                                    <?php if ($allowInvite) : ?>
853
                                    <button type="button" class="btn btn-sm btn-primary btn-invite"><i class="fa fa-plus"></i> LABEL_INVITE </button>
851
                                        <button type="button" class="btn btn-sm btn-primary btn-invite"><i class="fa fa-plus"></i> LABEL_INVITE </button>
854
                                    <?php endif; ?>
852
                                    <?php endif; ?>
855
                                </div>
853
                                </div>
856
                             </div>
854
                            </div>
857
						</div>
855
                        </div>
858
						<div class="row">
856
                        <div class="row">
859
							 <div class="col-md-12 col-sm-12">
857
                            <div class="col-md-12 col-sm-12">
860
								<table id="gridTable" class="table table-bordered table-hover">
858
                                <table id="gridTable" class="table table-bordered table-hover">
861
                              		<thead>
859
                                    <thead>
862
                						<tr>
860
                                        <tr>
863
                                        	<th>LABEL_FIRST_NAME</th>
861
                                            <th>LABEL_FIRST_NAME</th>
864
                                        	<th>LABEL_LAST_NAME</th>
862
                                            <th>LABEL_LAST_NAME</th>
865
                                        	<th>LABEL_EMAIL</th>
863
                                            <th>LABEL_EMAIL</th>
866
                                          	<th>LABEL_DETAILS</th>
864
                                            <th>LABEL_DETAILS</th>
867
                                          	<th>LABEL_ACTIONS</th>
865
                                            <th>LABEL_ACTIONS</th>
868
                                        </tr>
866
                                        </tr>
869
                               		</thead>
867
                                    </thead>
870
                                 	<tbody>
868
                                    <tbody>
871
                                 	</tbody>
869
                                    </tbody>
872
                            	</table>
870
                                </table>
873
							 </div>
871
                            </div>
874
						</div>
872
                        </div>
875
						
873
 
876
        	    
874
 
877
                   	</div>
875
                    </div>
878
                   	<div class="card-footer clearfix">
876
                    <div class="card-footer clearfix">
879
                   		
877
 
880
 
878
 
881
                 	</div>
879
                    </div>
882
          		</div>
880
                </div>
883
           	</div>     
881
            </div>
884
        </div>          
882
        </div>
885
 	</div>
883
    </div>
886
</section> 	
884
</section>
Línea 887... Línea 885...
887
 
885
 
888
 
886
 
889
<!-- The Modal -->
887
<!-- The Modal -->
890
<div class="modal" id="modalInvite">
888
<div class="modal" id="modalInvite">
Línea 891... Línea 889...
891
	<div class="modal-dialog  modal-xl">
889
    <div class="modal-dialog  modal-xl">
892
    	<div class="modal-content">
890
        <div class="modal-content">
893
 
891
 
894
            <!-- Modal Header -->
892
            <!-- Modal Header -->
Línea 895... Línea 893...
895
      		<div class="modal-header">
893
            <div class="modal-header">
896
        		<h3 class="modal-title">LABEL_INVITE</h3>
894
                <h3 class="modal-title">LABEL_INVITE</h3>
897
            		</div>
895
            </div>
898
 
896
 
899
            <!-- Modal body -->
897
            <!-- Modal body -->
900
      		<div class="modal-body">
898
            <div class="modal-body">
901
				<form name="form-invite" id="form-invite">
899
                <form name="form-invite" id="form-invite">
902
					<input type="hidden"  name="user_uuid_selected" id="user_uuid_selected" />
900
                    <input type="hidden" name="user_uuid_selected" id="user_uuid_selected" />
903
					<div class="form-group">
901
                    <div class="form-group">
904
                    	<label for="user_uuid">LABEL_USER (LABEL_MIN_LENGTH_3)</label>
902
                        <label for="user_uuid">LABEL_USER (LABEL_MIN_LENGTH_3)</label>
905
                    	<input autocomplete="off" type="text" name="user_uuid" id="user_uuid" class="form-control" data-noresults-text="LABEL_AUTOCOMPLETE_USERS_NOT_FOUND">
903
                        <input autocomplete="off" type="text" name="user_uuid" id="user_uuid" class="form-control" data-noresults-text="LABEL_AUTOCOMPLETE_USERS_NOT_FOUND">
906
					</div>
904
                    </div>
907
 
905
 
908
								
906
 
909
            		<div class="form-group">
907
                    <div class="form-group">
910
               			<button type="submit" class="btn btn-sm btn-primary">LABEL_INVITE</button>
908
                        <button type="submit" class="btn btn-sm btn-primary">LABEL_INVITE</button>
911
                		<button type="button" class="btn btn-sm btn-light btn-cancel-modal">LABEL_CANCEL</button>
909
                        <button type="button" class="btn btn-sm btn-light btn-cancel-modal">LABEL_CANCEL</button>
912
           			</div>
910
                    </div>
913
     			</form>
911
                </form>
Línea 914... Línea 912...
914
      		</div>
912
            </div>
915
    	</div>
913
        </div>
916
	</div>
914
    </div>
917
</div>  
915
</div>
Línea 918... Línea 916...
918
 
916
 
919
 
917
 
920
 
918
 
921
<!-- The Modal -->
919
<!-- The Modal -->
Línea 922... Línea 920...
922
<div class="modal" id="modalFormUploadUsers">
920
<div class="modal" id="modalFormUploadUsers">
923
	<div class="modal-dialog  modal-xl">
921
    <div class="modal-dialog  modal-xl">
924
    	<div class="modal-content">
922
        <div class="modal-content">
925
 
923
 
926
            <!-- Modal Header -->
924
            <!-- Modal Header -->
927
      		<div class="modal-header">
925
            <div class="modal-header">
928
        		<h3 class="modal-title">LABEL_UPLOAD</h3>
926
                <h3 class="modal-title">LABEL_UPLOAD</h3>
929
      		</div>
927
            </div>
930
 
928
 
931
            <!-- Modal body -->
929
            <!-- Modal body -->
932
      		<div class="modal-body">
930
            <div class="modal-body">
933
       			 <?php 
931
                <?php
934
                    $form = $this->formUploadUsers;
932
                $form = $this->formUploadUsers;
935
            		$form->setAttributes([
933
                $form->setAttributes([
936
                        'method'    => 'post',
934
                    'method'    => 'post',
937
                        'name'      => 'form-upload-users',
935
                    'name'      => 'form-upload-users',
938
                        'id'        => 'form-upload-users'
936
                    'id'        => 'form-upload-users'
939
                    ]);
937
                ]);
940
    
938
 
941
                    $form->prepare();
939
                $form->prepare();
942
                    echo $this->form()->openTag($form);
940
                echo $this->form()->openTag($form);
943
                ?>					
941
                ?>
944
 
942
 
945
				<div class="form-group">
943
                <div class="form-group">
946
                	
944
 
947
                		
945
 
948
                 		<?php 
946
                    <?php
949
                        $element = $form->get('file');
947
                    $element = $form->get('file');
950
                        $element->setOptions(['label' => 'LABEL_EXCEL']);
948
                    $element->setOptions(['label' => 'LABEL_EXCEL']);
-
 
949
                    echo $this->formLabel($element);
Línea 951... Línea -...
951
                        echo $this->formLabel($element);
-
 
952
                        ?>
950
                    ?>
953
                        <div class="file-loading">
951
                    <div class="file-loading">
954
                        <?php 
952
                        <?php
955
                        $element->setAttributes(['class' => 'form-control', 'accept' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'application/vnd.ms-excel']);
953
                        $element->setAttributes(['class' => 'form-control', 'accept' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'application/vnd.ms-excel']);
956
                        echo $this->formFile($element);
954
                        echo $this->formFile($element);
957
                        ?>
955
                        ?>
958
                	</div>
956
                    </div>
959
          		</div>
957
                </div>
960
 
958
 
961
 
959
 
Línea 962... Línea 960...
962
								
960
 
963
        		<div class="form-group">
961
                <div class="form-group">
964
                	<button type="submit" class="btn btn-sm btn-primary">LABEL_UPLOAD</button>
962
                    <button type="submit" class="btn btn-sm btn-primary">LABEL_UPLOAD</button>
965
             		<button type="button" class="btn btn-sm btn-light btn-cancel-modal">LABEL_CANCEL</button>
963
                    <button type="button" class="btn btn-sm btn-light btn-cancel-modal">LABEL_CANCEL</button>
Línea 966... Línea 964...
966
           		</div>
964
                </div>
967
    			<?php echo $this->form()->closeTag($form); ?>
965
                <?php echo $this->form()->closeTag($form); ?>
968
      		</div>
966
            </div>
969
 
967
 
970
    	</div>
968
        </div>
Línea 971... Línea 969...
971
	</div>
969
    </div>
972
</div> 
970
</div>
973
 
971
 
974
 
972
 
975
 
973
 
976
<!-- The Modal -->
974
<!-- The Modal -->
977
<div class="modal" id="modalUploadUsers">
975
<div class="modal" id="modalUploadUsers">
978
	<div class="modal-dialog modal-xl">
976
    <div class="modal-dialog modal-xl">
979
    	<div class="modal-content">
977
        <div class="modal-content">
980
 
978
 
981
            <!-- Modal Header -->
979
            <!-- Modal Header -->
982
      		<div class="modal-header">
980
            <div class="modal-header">
983
        		<h3 class="modal-title">LABEL_USERS</h3>
981
                <h3 class="modal-title">LABEL_USERS</h3>
984
        		<button type="button" class="close" data-dismiss="modal">&times;</button>
982
                <button type="button" class="close" data-dismiss="modal">&times;</button>
985
      		</div>
983
            </div>
986
 
984
 
987
            <!-- Modal body -->
985
            <!-- Modal body -->
988
      		<div class="modal-body">
986
            <div class="modal-body">
989
      			<form>
987
                <form>
990
      				<input type="hidden" name="table-upload-users-key" id="table-upload-users-key">
988
                    <input type="hidden" name="table-upload-users-key" id="table-upload-users-key">
991
      			</form>
989
                </form>
Línea 992... Línea 990...
992
      			<div style="height: 300px;overflow: scroll;"> 
990
                <div style="height: 300px;overflow: scroll;">
993
				<table id="gridTableUploadUsers" style="width: 100%" class="table table-bordered table-hover">
991
                    <table id="gridTableUploadUsers" style="width: 100%" class="table table-bordered table-hover">
994
            		<thead>
992
                        <thead>
995
            			<tr>
993
                            <tr>
996
                      		<th>LABEL_FIRST_NAME</th>
994
                                <th>LABEL_FIRST_NAME</th>
997
                     		<th>LABEL_LAST_NAME</th>
995
                                <th>LABEL_LAST_NAME</th>
998
                         	<th>LABEL_EMAIL</th>
996
                                <th>LABEL_EMAIL</th>
999
                       		<th>LABEL_PASSWORD</th>	
997
                                <th>LABEL_PASSWORD</th>
1000
             			</tr>
998
                            </tr>
Línea 1001... Línea 999...
1001
                  	</thead>
999
                        </thead>
1002
               		<tbody>
1000
                        <tbody>
1003
               		</tbody>
1001
                        </tbody>
1004
         		</table>
1002
                    </table>
Línea 1005... Línea 1003...
1005
         		</div>
1003
                </div>
1006
       			
1004
 
1007
      		</div>
1005
            </div>
1008
 
1006
 
Línea 1009... Línea 1007...
1009
            <!-- Modal footer -->
1007
            <!-- Modal footer -->
1010
      		<div class="modal-footer">
1008
            <div class="modal-footer">
1011
      			<button type="submit" class="btn btn-sm btn-primary btn-upload-users-step2">LABEL_SAVE</button>
1009
                <button type="submit" class="btn btn-sm btn-primary btn-upload-users-step2">LABEL_SAVE</button>
1012
        		<button type="button" class="btn btn-sm btn-danger" data-dismiss="modal">LABEL_CLOSE</button>
1010
                <button type="button" class="btn btn-sm btn-danger" data-dismiss="modal">LABEL_CLOSE</button>
1013
      		</div>
1011
            </div>
1014
 
1012
 
1015
    	</div>
1013
        </div>
1016
	</div>
1014
    </div>
1017
</div> 
1015
</div>
1018
 
1016
 
1019
 
1017
 
1020
<!-- The Modal -->
1018
<!-- The Modal -->
1021
<div class="modal" id="modalEdit">
1019
<div class="modal" id="modalEdit">
1022
	<div class="modal-dialog  modal-xl">
1020
    <div class="modal-dialog  modal-xl">
1023
    	<div class="modal-content">
1021
        <div class="modal-content">
1024
 
1022
 
1025
            <!-- Modal Header -->
1023
            <!-- Modal Header -->
1026
      		<div class="modal-header">
1024
            <div class="modal-header">
1027
        		<h3 class="modal-title">LABEL_EDIT</h3>
1025
                <h3 class="modal-title">LABEL_EDIT</h3>
1028
        	</div>
1026
            </div>
1029
 
1027
 
1030
            <!-- Modal body -->
1028
            <!-- Modal body -->
1031
      		<div class="modal-body">
1029
            <div class="modal-body">
1032
				<form name="form-edit" id="form-edit">
1030
                <form name="form-edit" id="form-edit">
1033
					<div class="row">
1031
                    <div class="row">
1034
						<div class="col-md-12 col-sm-12">
1032
                        <div class="col-md-12 col-sm-12">
1035
							<div class="form-group">
1033
                            <div class="form-group">
1036
								<label for="backend">LABEL_ACCESS_BACKEND</label>
1034
                                <label for="backend">LABEL_ACCESS_BACKEND</label>
1037
								<input type="checkbox" name="backend" id="backend" value="y" class="form-control" style="width: 20px; height: 20px" >
1035
                                <input type="checkbox" name="backend" id="backend" value="y" class="form-control" style="width: 20px; height: 20px">
1038
							</div>
1036
                            </div>
1039
						</div>
1037
                        </div>
1040
					</div>
1038
                    </div>
1041
					<div class="row">
1039
                    <div class="row">
Línea 1042... Línea 1040...
1042
						<div class="col-md-12 col-sm-12">
1040
                        <div class="col-md-12 col-sm-12">
1043
    						<table id="table-roles" class="table table-bordered table-hover">
1041
                            <table id="table-roles" class="table table-bordered table-hover">
1044
                 				<thead>
1042
                                <thead>
Línea 1045... Línea 1043...
1045
                					<tr>
1043
                                    <tr>
1046
                                		<th>LABEL_NAME</th>
1044
                                        <th>LABEL_NAME</th>
1047
                                    	<th>LABEL_ACTIVE</th>
1045
                                        <th>LABEL_ACTIVE</th>
1048
                                   	</tr>
1046
                                    </tr>
Línea 1049... Línea 1047...
1049
                             	</thead>
1047
                                </thead>
1050
                             	<tbody>
1048
                                <tbody>
1051
                             	</tbody>
1049
                                </tbody>
1052
                     		</table>
1050
                            </table>
Línea 1053... Línea 1051...
1053
						
1051
 
1054
						</div>
1052
                        </div>
1055
					</div>	
1053
                    </div>
1056
								
1054
 
1057
            		<div class="form-group">
1055
                    <div class="form-group">
1058
               			<button type="submit" class="btn btn-sm btn-primary">LABEL_SAVE</button>
1056
                        <button type="submit" class="btn btn-sm btn-primary">LABEL_SAVE</button>
1059
                		<button type="button" class="btn btn-sm btn-light btn-cancel-modal">LABEL_CANCEL</button>
1057
                        <button type="button" class="btn btn-sm btn-light btn-cancel-modal">LABEL_CANCEL</button>
1060
           			</div>
1058
                    </div>
1061
     			</form>
1059
                </form>
1062
      		</div>
1060
            </div>
1063
 
1061
 
1064
    	</div>
1062
        </div>
1065
	</div>
1063
    </div>
1066
</div>
1064
</div>
1067
 
1065
 
1068
 
1066
 
1069
 
1067
 
1070
<!-- The Modal -->
1068
<!-- The Modal -->
1071
<div class="modal" id="modalChangePassword">
1069
<div class="modal" id="modalChangePassword">
1072
	<div class="modal-dialog">
1070
    <div class="modal-dialog">
1073
    	<div class="modal-content">
1071
        <div class="modal-content">
1074
 
1072
 
1075
            <!-- Modal Header -->
1073
            <!-- Modal Header -->
1076
      		<div class="modal-header">
1074
            <div class="modal-header">
1077
        		<h3 class="modal-title">LABEL_USERS</h3>
1075
                <h3 class="modal-title">LABEL_USERS</h3>
1078
      		</div>
1076
            </div>
1079
 
1077
 
1080
            <!-- Modal body -->
1078
            <!-- Modal body -->
1081
      		<div class="modal-body">
1079
            <div class="modal-body">
1082
       			 <?php 
1080
                <?php
1083
                    $form = $this->formChangePassword;
1081
                $form = $this->formChangePassword;
1084
            		$form->setAttributes([
1082
                $form->setAttributes([
1085
                        'method'    => 'post',
1083
                    'method'    => 'post',
1086
                        'name'      => 'form-change-password',
1084
                    'name'      => 'form-change-password',
1087
                        'id'        => 'form-change-password'
1085
                    'id'        => 'form-change-password'
1088
                    ]);
1086
                ]);
1089
    
1087
 
1090
                    $form->prepare();
1088
                $form->prepare();
1091
                    echo $this->form()->openTag($form);
1089
                echo $this->form()->openTag($form);
1092
                    ?>			
1090
                ?>
1093
                        <div class="form-group">
1091
                <div class="form-group">
1094
        					<?php 
1092
                    <?php
1095
                            $element = $form->get('first_name');
1093
                    $element = $form->get('first_name');
1096
                            $element->setOptions(['label' => 'LABEL_FIRST_NAME']);
1094
                    $element->setOptions(['label' => 'LABEL_FIRST_NAME']);
1097
                            $element->setAttributes(['class' => 'form-control', 'readonly' => 'readonly']); 
1095
                    $element->setAttributes(['class' => 'form-control', 'readonly' => 'readonly']);
1098
                                            
1096
 
1099
                            echo $this->formLabel($element);
1097
                    echo $this->formLabel($element);
1100
                            echo $this->formText($element);
1098
                    echo $this->formText($element);
1101
                            ?>
1099
                    ?>
1102
						</div>
1100
                </div>
1103
						<div class="form-group">
1101
                <div class="form-group">
1104
        					<?php 
1102
                    <?php
1105
                            $element = $form->get('last_name');
1103
                    $element = $form->get('last_name');
1106
                            $element->setOptions(['label' => 'LABEL_LAST_NAME']);
1104
                    $element->setOptions(['label' => 'LABEL_LAST_NAME']);
1107
                            $element->setAttributes(['class' => 'form-control', 'readonly' => 'readonly']); 
1105
                    $element->setAttributes(['class' => 'form-control', 'readonly' => 'readonly']);
1108
                                            
1106
 
1109
                            echo $this->formLabel($element);
1107
                    echo $this->formLabel($element);
1110
                            echo $this->formText($element);
1108
                    echo $this->formText($element);
1111
                            ?>
1109
                    ?>
1112
						</div>
1110
                </div>
1113
						<div class="form-group">
1111
                <div class="form-group">
1114
        					<?php 
1112
                    <?php
1115
                            $element = $form->get('email');
1113
                    $element = $form->get('email');
1116
                            $element->setOptions(['label' => 'LABEL_EMAIL']);
1114
                    $element->setOptions(['label' => 'LABEL_EMAIL']);
1117
                            $element->setAttributes(['class' => 'form-control', 'readonly' => 'readonly']); 
1115
                    $element->setAttributes(['class' => 'form-control', 'readonly' => 'readonly']);
1118
                                            
1116
 
1119
                            echo $this->formLabel($element);
1117
                    echo $this->formLabel($element);
1120
                            echo $this->formText($element);
1118
                    echo $this->formText($element);
1121
                            ?>
1119
                    ?>
1122
						</div>		
1120
                </div>
1123
    					<div class="form-group">
1121
                <div class="form-group">
1124
        					<?php 
1122
                    <?php
1125
                            $element = $form->get('password');
1123
                    $element = $form->get('password');
1126
                            $element->setOptions(['label' => 'LABEL_PASSWORD']);
1124
                    $element->setOptions(['label' => 'LABEL_PASSWORD']);
1127
                            $element->setAttributes(['class' => 'form-control']); 
1125
                    $element->setAttributes(['class' => 'form-control']);
1128
                                            
-
 
1129
                            echo $this->formLabel($element);
-
 
1130
                            echo $this->formPassword($element);
-
 
1131
                            ?>
-
 
1132
						</div>
1126