create_project.html

 1   <#include "project_tabs.html" />
 2   <@tabs tab="project" />
 3   
 4   <div class="row" >
 5       <div class="col-sm-12">
 6   
 7       <form class="form-horizontal" role="form" method="post" action="jsp/site/Portal.jsp?page=project">
 8           <fieldset>
 9               <legend>#i18n{example.create_project.title{i18n_close}</legend>
 10   
 11               <@messages errors=errors />
 12               <input type="hidden" id="id" name="id"/>  
 13               <div class="form-group">
 14                   <label class="col-sm-3 control-label" for="name" >#i18n{example.create_project.labelName} * :</label>
 15                   <div class="col-sm-9">
 16                       <input class="form-control" type="text" id="name" name="name" value="${project.name!''}"  maxlength="50" tabindex="0" />
 17                       <span class="help-block">#i18n{example.create_project.labelName.help}</span>
 18                   </div>
 19               </div>
 20               <div class="form-group">
 21                   <label class="col-sm-3 control-label" for="description" >#i18n{example.create_project.labelDescription} * :</label>
 22                   <div class="col-sm-9">
 23                       <input class="form-control" type="text" id="description" name="description" value="${project.description!''}"  maxlength="255" tabindex="1" />
 24                       <span class="help-block">#i18n{example.create_project.labelDescription.help}</span>
 25                   </div>
 26               </div>
 27               <div class="form-group">
 28                   <label class="col-sm-3 control-label" for="image_url" >#i18n{example.create_project.labelImageUrl} * :</label>
 29                   <div class="col-sm-9">
 30                       <input class="form-control" type="text" id="image_url" name="image_url" value="${project.imageUrl!''}"  maxlength="255" tabindex="2" />
 31                       <span class="help-block">#i18n{example.create_project.labelImageUrl.help}</span>
 32                   </div>
 33               </div>
 34                <div class="form-group">
 35                   <label class="col-sm-3 control-label" for="name" >#i18n{example.create_project.labelCost} * :</label>
 36                   <div class="col-sm-9">
 37                       <input class="form-control" type="text" id="name" name="cost" value="${project.cost!''}"  maxlength="50" tabindex="1" />
 38                       <span class="help-block">#i18n{example.create_project.labelCost.help}</span>
 39                   </div>
 40               </div>
 41               <div class="form-group">
 42                   <div class="col-sm-offset-3 col-sm-9">
 43                       <button name="action_createProject" class="btn btn-primary" type="submit" tabindex="3">
 44                           #i18n{portal.util.labelCreate}
 45                       </button>
 46                       <button name="view_manageProjects" class="btn" type="submit" >
 47                           #i18n{portal.util.labelCancel}
 48                       </button>
 49                   </div>
 50               </div>
 51           </fieldset>
 52       </form>
 53       </div>
 54   </div>
 55   
 56