remove edit page cancel buttom
This commit is contained in:
		
							parent
							
								
									d70ef4666b
								
							
						
					
					
						commit
						6426fb74d9
					
				|  | @ -2,7 +2,9 @@ | ||||||
|   <div class="fn_g hp"> |   <div class="fn_g hp"> | ||||||
|     <%= f.submit "Save", name: "commit", value: "Save", class: "fn_btn hh2 thmc2 thmtxt" %> |     <%= f.submit "Save", name: "commit", value: "Save", class: "fn_btn hh2 thmc2 thmtxt" %> | ||||||
|     <!-- class: bt-cancle can't be remove --> |     <!-- class: bt-cancle can't be remove --> | ||||||
|     <%= submit_tag "Cancel", :type => "button", class: "bt-cancel fn_btn hh2 thmc2 thmtxt" %> |     <% if not @writing_journal.new_record? %> | ||||||
|  |       <%= submit_tag "Cancel", :type => "button", class: "bt-cancel fn_btn hh2 thmc2 thmtxt" %> | ||||||
|  |     <% end %> | ||||||
|   </div> |   </div> | ||||||
|   <div class="hh2 hp sdm"> |   <div class="hh2 hp sdm"> | ||||||
|     <div class="sdm_t hh2">Entry Year</div> |     <div class="sdm_t hh2">Entry Year</div> | ||||||
|  | @ -215,7 +217,7 @@ | ||||||
|       </div> |       </div> | ||||||
|       <div class="s_grid_con s_form"> |       <div class="s_grid_con s_form"> | ||||||
|           <li class="s_grid_row"> |           <li class="s_grid_row"> | ||||||
|             <%= f.text_area :note, size: "20x2", plcaeholder: "Note", class: "s_grid_6 s_grid"%> |             <%= f.text_area :note, size: "20x2", placeholder: "Note", class: "s_grid_6 s_grid"%> | ||||||
|           </li> |           </li> | ||||||
|         </ul> |         </ul> | ||||||
|       </div> |       </div> | ||||||
|  | @ -248,8 +250,6 @@ | ||||||
|    }); |    }); | ||||||
|   }); |   }); | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
|   $('.action a.remove_existing_record').click(function(){ |   $('.action a.remove_existing_record').click(function(){ | ||||||
|     $(this).next('.should_destroy').attr('value', 1); |     $(this).next('.should_destroy').attr('value', 1); | ||||||
|     $("tr#add_plugin_file_" + $(this).prev().attr('value')).hide(); |     $("tr#add_plugin_file_" + $(this).prev().attr('value')).hide(); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue