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