Project

General

Profile

« Previous | Next » 

Revision 7913

use radio labels in spatial section - table. https://projects.ecoinformatics.org/ecoinfo/issues/5951

View differences:

lib/style/common/templates/metacatui/entryForm.tmpl
723 723
									      
724 724
									      <td Align="left" colspan="2"> 
725 725
									      [% IF form == 're_entry' && hemisphLat1 == "N"%]
726
									        <input type="radio"  name="hemisphLat1" value="N" CHECKED><span class="regtext">North</span>
726
									      	<label class="radio inline">
727
									        	<input type="radio"  name="hemisphLat1" value="N" CHECKED>
728
									        	North
729
									        </label>	
727 730
									      [%ELSE%]
728
									        <input type="radio"  name="hemisphLat1" value="N"><span class="regtext">North</span>
731
									      	<label class="radio inline">
732
									        	<input type="radio"  name="hemisphLat1" value="N">
733
									        	North
734
									        </label>	
729 735
									      [%END%]
730 736
									      [% IF form == 're_entry' && hemisphLat1 == "S"%]
731
									        <input type="radio"  name="hemisphLat1" value="S" CHECKED><span class="regtext">South</span>
737
									      	<label class="radio inline">
738
									        	<input type="radio"  name="hemisphLat1" value="S" CHECKED>
739
									        	South
740
									        </label>	
732 741
									      [%ELSE%]
733
									        <input type="radio"  name="hemisphLat1" value="S"><span class="regtext">Sout</span>
742
									      	<label class="radio inline">
743
									        	<input type="radio"  name="hemisphLat1" value="S">
744
									        	South
745
									        </label>	
734 746
									      [%END%]
735 747
									      </td>
736 748
									    </tr>
......
749 761
									      
750 762
									      
751 763
									      <td align="left" colspan="2"> 
752
									    [% IF form == 're_entry' && hemisphLong1 == "W"%]        
753
									      <input type="radio"  name="hemisphLong1" value="W" CHECKED><span class="regtext">West</span>
764
									    [% IF form == 're_entry' && hemisphLong1 == "W"%]
765
									    	<label class="radio inline">        
766
									      		<input type="radio"  name="hemisphLong1" value="W" CHECKED>
767
									      		West
768
									      	</label>	
754 769
									    [%ELSE%]
755
									      <input type="radio"  name="hemisphLong1" value="W"><span class="regtext">West</span>
770
									    	<label class="radio inline">
771
									      		<input type="radio"  name="hemisphLong1" value="W">
772
									      		West
773
									      	</label>	
756 774
									    [%END%]
757 775
									    [% IF form == 're_entry' && hemisphLong1 == "E"%]
758
									      <input type="radio"  name="hemisphLong1" value="E" CHECKED><span class="regtext">East</span>
776
									    	<label class="radio inline">
777
									      		<input type="radio"  name="hemisphLong1" value="E" CHECKED>
778
									      		East
779
									      	</label>	
759 780
									    [%ELSE%]
760
									      <input type="radio"  name="hemisphLong1" value="E"><span class="regtext">East</span>
781
									    	<label class="radio inline">
782
									      		<input type="radio"  name="hemisphLong1" value="E">
783
									      		East
784
									      	</label>	
761 785
									    [%END%]
762 786
									      </td>
763 787
									    </tr>
......
774 798
									        
775 799
									      <td align="left" colspan="2"> 
776 800
									      [% IF form == 're_entry' && hemisphLat2 == "N"%]
777
									        <input type="radio"  name="hemisphLat2" value="N" CHECKED><span class="regtext">North&nbsp;&nbsp;</span>
801
									      	<label class="radio inline">
802
									        	<input type="radio"  name="hemisphLat2" value="N" CHECKED>
803
									        	North
804
									        </label>	
778 805
									      [%ELSE%]
779
									        <input type="radio"  name="hemisphLat2" value="N"><span class="regtext">North&nbsp;&nbsp;</span>
806
									      	<label class="radio inline">
807
									        	<input type="radio"  name="hemisphLat2" value="N">
808
									        	North
809
									        </label>	
780 810
									      [%END%]
781 811
									      [% IF form == 're_entry' && hemisphLat2 == "S"%]
782
									        <input type="radio"  name="hemisphLat2" value="S" CHECKED><span class="regtext">South&nbsp;&nbsp;</span>
812
									      	<label class="radio inline">
813
									        	<input type="radio"  name="hemisphLat2" value="S" CHECKED>
814
									        	South
815
									        </label>	
783 816
									      [%ELSE%]
784
									        <input type="radio"  name="hemisphLat2" value="S"><span class="regtext">South&nbsp;&nbsp;</span>
817
									      	<label class="radio inline">
818
									        	<input type="radio"  name="hemisphLat2" value="S">
819
												South
820
									        </label>
785 821
									      [%END%]
786 822
									      </td>
787 823
									    </tr>
......
793 829
									       <td align="left" colspan="2">
794 830
									       
795 831
									      [% IF form == 're_entry' && hemisphLong2 == "W"%]
796
									        <input type="radio"  name="hemisphLong2" value="W" CHECKED><span class="regtext">West</span>
832
									      	<label class="radio inline">
833
									        	<input type="radio"  name="hemisphLong2" value="W" CHECKED>
834
									        	West
835
									        </label	
797 836
									      [%ELSE%]
798
									        <input type="radio"  name="hemisphLong2" value="W"><span class="regtext">West</span>
837
									      	<label class="radio inline">
838
									        	<input type="radio"  name="hemisphLong2" value="W">
839
									        	West
840
									        </label>	
799 841
									      [%END%]
800 842
									      [% IF form == 're_entry' && hemisphLong2 == "E"%]
801
									        <input type="radio"  name="hemisphLong2" value="E" CHECKED><span class="regtext">East</span>
843
									      	<label class="radio inline">
844
									        	<input type="radio"  name="hemisphLong2" value="E" CHECKED>
845
									        	East
846
									        </label>	
802 847
									      [%ELSE%]
803
									        <input type="radio"  name="hemisphLong2" value="E"><span class="regtext">East</span>
848
									      	<label class="radio inline">
849
									        	<input type="radio"  name="hemisphLong2" value="E">
850
									        	East
851
									        </label>	
804 852
									      [%END%]
805 853
									      </td>
806 854
									    </tr>

Also available in: Unified diff