-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathevento.html
135 lines (111 loc) · 7.12 KB
/
evento.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<div class="row" ng-controller="eventoInterna">
<article class="col-sm-12 col-lg-12 col-md-12 col-xl-12">
<!--Card-->
<div class="card">
<!--Card image-->
<img class="img-fluid" src="assets/defaultEventImage.jpg" alt="Card image cap">
<!--Card content-->
<div class="card-body card-body-custom">
<h4 class="card-title">{{ evento.nome }}</h4>
<div class="row">
<div class="col-sm-6">
<i class="fa fa-map-marker-alt"></i>
<span class="location-event"> {{ evento.faculdade }} </span>
</div>
<div class="col-sm-6 ">
<div class="float-right">
<i class="fa fa-calendar"></i>
<span class="datetime-event"> {{ evento.inicio | date: "dd/MM/yyyy HH:mm" }} à {{ evento.fim | date: "dd/MM/yyyy HH:mm" }} </span>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<p class="card-body">
{{ evento.descricao }}
</p>
</div>
</div>
</div>
<div class="row" style="padding:10px;">
<div class="col-sm-12">
<form class="form-horizontal" name="inscricao_form" ng-controller="inscricao" ng-submit="submitForm()">
<fieldset>
<!-- Form Name -->
<legend>Inscreva-se</legend>
<div class="alert alert-{{responseClass}} col-sm-12">
{{ inscricaoResposta }}
</div>
<!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label" for="textinput">Nome</label>
<div class="col-md-12">
<input id="textinput" name="textinput" ng-model="dados.nome" type="text" placeholder="" class="form-control input-md" ng-required="true">
</div>
</div>
<!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label" for="textinput">Email</label>
<div class="col-md-12">
<input id="textinput" name="textinput" type="text" ng-model="dados.email" placeholder="" class="form-control input-md" ng-required="true">
</div>
</div>
<!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label" for="textinput">Telefone</label>
<div class="col-md-12">
<input id="textinput" name="textinput" type="text" ng-model="dados.telefone" placeholder="" class="form-control input-md" ng-required="true">
</div>
</div>
<div class="form-group">
<label class="col-md-4 control-label" for="textinput">CPF</label>
<div class="col-md-12">
<input id="textinput" name="textinput" type="text" ng-model="dados.cpf" placeholder="" class="form-control input-md" ng-required="true">
</div>
</div>
<div class="form-group">
<div class="col-md-4">
<label class="checkbox-inline">
<input type="checkbox" name="" ng-model="isStudent" ng-checked="isStudent" >
Sou estudante
</label>
</div>
</div>
<div ng-show="isStudent">
<!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label" for="textinput">Matrícula</label>
<div class="col-md-12">
<input id="textinput" name="textinput" type="text" ng-model="dados.matricula" placeholder="" class="form-control input-md" ng-required="isStudent">
</div>
</div>
<!-- Select Basic -->
<div class="form-group">
<label class="col-md-4 control-label" for="selectbasic">Faculdade</label>
<div class="col-md-12">
<select ng-required="isStudent" name="selectbasic" ng-model="selectedFacul" class="form-control" ng-options="instituicao.nome_faculdade for instituicao in instituicoes track by instituicao.id">
</select>
</div>
</div>
<!-- Select Basic -->
<div class="form-group">
<label class="col-md-4 control-label" for="selectbasic">Curso</label>
<div class="col-md-12">
<select ng-required="isStudent" name="selectbasic" ng-model="selectedCurso" class="form-control" ng-options="curso.nome for curso in cursos track by curso.id">
</select>
</div>
</div>
</div>
<!-- Button (Double) -->
<div class="form-group">
<div class="col-md-12">
<button ng-click="Submit" id="" name="button1id" class="btn btn-success btnSalvar">Inscrever</button>
</div>
</div>
</fieldset>
</form>
</div>
</div>
</div>
</article>
</div>