Commit c7412c19042915b9f2568f4706411cd3de74f858

Authored by Caio Almeida
1 parent c3de4d84

Ticket #58: Moving template to the right place

ConfJuvApp/www/html/_edit_proposal.html
@@ -1,33 +0,0 @@ @@ -1,33 +0,0 @@
1 -<div class="modal" id="create-proposal">  
2 - <ion-content>  
3 - <form ng-submit="updateProposal(data)">  
4 - <h1 class="title">  
5 - <span>Alterar proposta</span>  
6 - <a class="back icon-left ion-reply" ng-click="closeEditProposalModal()">Voltar</a>  
7 - </h1>  
8 -  
9 - <label class="item item-input"><input type="text" placeholder="Título" ng-model="data.title" maxlength="40"></label>  
10 - <label class="item item-input"><textarea placeholder="Descrição" ng-model="data.description"></textarea></label>  
11 -  
12 - <ng-include src="'html/_select_state.html'"></ng-include>  
13 -  
14 - <label id="proposal-topic">  
15 - <div class="input-label">  
16 - Eixo  
17 - </div>  
18 - <select ng-model="data.topic_id" id="select-topic" ng-value="topic.id" ng-options="topic.title for topic in topics track by topic.id">  
19 - <option value="">Escolha o eixo...</option>  
20 - </select>  
21 - </label>  
22 -  
23 - <label class="checkbox free-conference-cbox">  
24 - <input type="checkbox" ng-model="data.free_conference" >  
25 - </label>  
26 - <span class="free-conference-label">De conferência livre?</span>  
27 -  
28 - <p class="text-center" style="clear: both;">  
29 - <button class="button" type="submit" id="save-proposal">Salvar</button>  
30 - </p>  
31 - </form>  
32 - </ion-content>  
33 -</div>  
www/html/_edit_proposal.html 0 → 100644
@@ -0,0 +1,33 @@ @@ -0,0 +1,33 @@
  1 +<div class="modal" id="create-proposal">
  2 + <ion-content>
  3 + <form ng-submit="updateProposal(data)">
  4 + <h1 class="title">
  5 + <span>Alterar proposta</span>
  6 + <a class="back icon-left ion-reply" ng-click="closeEditProposalModal()">Voltar</a>
  7 + </h1>
  8 +
  9 + <label class="item item-input"><input type="text" placeholder="Título" ng-model="data.title" maxlength="40"></label>
  10 + <label class="item item-input"><textarea placeholder="Descrição" ng-model="data.description"></textarea></label>
  11 +
  12 + <ng-include src="'html/_select_state.html'"></ng-include>
  13 +
  14 + <label id="proposal-topic">
  15 + <div class="input-label">
  16 + Eixo
  17 + </div>
  18 + <select ng-model="data.topic_id" id="select-topic" ng-value="topic.id" ng-options="topic.title for topic in topics track by topic.id">
  19 + <option value="">Escolha o eixo...</option>
  20 + </select>
  21 + </label>
  22 +
  23 + <label class="checkbox free-conference-cbox">
  24 + <input type="checkbox" ng-model="data.free_conference" >
  25 + </label>
  26 + <span class="free-conference-label">De conferência livre?</span>
  27 +
  28 + <p class="text-center" style="clear: both;">
  29 + <button class="button" type="submit" id="save-proposal">Salvar</button>
  30 + </p>
  31 + </form>
  32 + </ion-content>
  33 +</div>