<%@include file="/jsp/common/defaultTopLogin.jsp"%>

<script src="${contextPath}/js/dda/admin/catalogos/estudiosTrans/estudiosTrans.js?v=${versionJS}"></script>

<script>
	$(document).ready(
		function() {
			$("#forma input").addClass("form-control");			
			validarAgregar();			
	    }
		
	);				
</script>
      
<input type="hidden" id="pmn" name="pmn" value="${pmn}" />
<input type="hidden" id="pmnReturn" name="pmnReturn" value="${pmnReturn}" />

<form action="agregarEstudioTrans.action" id="forma" name="forma" class="form-horizontal" role="form" method="post">
  	  	  		
		<div class="form-group">
			<div class="col-sm-2">			    
	      		<label class="control-label" for="inputDescripcionEstudio">Nombre del Estudio:</label>
	      	</div>
	      	<div class="col-sm-3">      										
				<input type="text" name="nombreEstudio" />
	      	</div>
	      	
	      	<div class="col-sm-1">			    
	      	</div>	      		      	      		      	
	    </div>
	    <div class="form-group">
			<div class="col-sm-2">			    
	      		<label class="control-label" for="inputDescripcionEstudio">Revenue Share:</label>
	      	</div>
	      	<div class="col-sm-3">      										
				<input type="text" name="revenueShare" />
	      	</div>
	      	
	      	<div class="col-sm-1">			    
	      	</div>	      		      	      		      	
	    </div>
	    
	    		
		<s:if test="estudioActualizado">
		 	<script type="text/javascript">
		 			showMessage("Estudio Guardado");
		 	</script>
		</s:if>			
		<s:elseif test="estudio != null && !estudioActualizado">
			<script type="text/javascript">
		 		showError("Error al agregar el estudio");
		 	</script>
		</s:elseif>
		
	 	<div class="col-xs-2">
	    	<button class="btn btn-default" type="button" onclick="regreso()">Regresar</button>    	
	    </div>
	        
	    <div class="col-xs-2">
	        <button class="btn btn-success" type="submit">Guardar cambios</button>
	    </div>
	    
	    <br></br>
	    <br></br>
	    <br></br>       
    
</form>
	
<%@include file="/jsp/common/defaultBottomLogin.jsp"%>
