<commit_before><%= render({ :partial => '/shared/work_tabs',
             :locals => { :selected => 6,
                          :work_id => @work.id }}) %>


<div class="two-columns">
  <div class="left-column">
    <div class="inside-column">
      <%= form_for :work, url: { action: :update } do |f| %>
	<div>
	  <label style="width: 150px; display: inline-block">Title:</label>
	  <%= f.text_field :title, value: @work.title %>
	</div>
	<div>
	  <label style="width: 150px; display: inline-block">Description:</label>
	  <%= f.text_field :description, value: @work.description %>
	</div>
	<div>
	  <label style="width: 150px; display: inline-block">Owner:</label>
	  <%= link_to(@work.owner.display_name, { :controller => 'user', :action => 'profile', :user_id => @work.owner.id }) %>
        </div>
	<div>
	  <label style="width: 150px; display: inline-block">Physical Description:</label>
	  <%= f.text_field :physical_description, value: @work.physical_description %>
	</div>
	<div>
	  <label style="width: 150px; display: inline-block">Document History:</label>
	  <%= f.text_field :document_history, value: @work.document_history %>
	</div>
	<div>
	  <label style="width: 150px; display: inline-block">Permissions:</label>
	  <%= f.text_field :permission_description, value: @work.permission_description %>
	</div>
	<div>
	  <label style="width: 150px; display: inline-block">Location of Composition:</label>
	  <%= f.text_field :location_of_composition, value: @work.location_of_composition %>
	</div>
	<div>
	  <label style="width: 150px; display: inline-block">Author:</label>
	  <%= f.text_field :author, value: @work.author %>
	</div>
	<div>
	  <label>Transcription Conventions:</label>
	  <%= f.text_area :transcription_conventions, value: @work.transcription_conventions, cols: 90 %>
	</div>
	<%= f.hidden_field :work_id, value: @work.id %>
	<%= f.submit %>
      <% end %>
      <br />
    </div>
  </div>
  <div class="right-column">
    <div class="inside-column">

      <%= html_block('right') %>
    </div>
  </div>
</div><commit_msg>warn user on this form<commit_after><%= render({ :partial => '/shared/work_tabs',
             :locals => { :selected => 6,
                          :work_id => @work.id }}) %>


<div class="two-columns">
  <div class="left-column">
    <div class="inside-column">
      <%= form_for :work, url: { action: :update } do |f| %>
	<div>
	  <label style="width: 150px; display: inline-block">Title:</label>
	  <%= f.text_field :title, value: @work.title %>
	</div>
	<div>
	  <label style="width: 150px; display: inline-block">Description:</label>
	  <%= f.text_field :description, value: @work.description %>
	</div>
	<div>
	  <label style="width: 150px; display: inline-block">Owner:</label>
	  <%= link_to(@work.owner.display_name, { :controller => 'user', :action => 'profile', :user_id => @work.owner.id }) %>
        </div>
	<div>
	  <label style="width: 150px; display: inline-block">Physical Description:</label>
	  <%= f.text_field :physical_description, value: @work.physical_description %>
	</div>
	<div>
	  <label style="width: 150px; display: inline-block">Document History:</label>
	  <%= f.text_field :document_history, value: @work.document_history %>
	</div>
	<div>
	  <label style="width: 150px; display: inline-block">Permissions:</label>
	  <%= f.text_field :permission_description, value: @work.permission_description %>
	</div>
	<div>
	  <label style="width: 150px; display: inline-block">Location of Composition:</label>
	  <%= f.text_field :location_of_composition, value: @work.location_of_composition %>
	</div>
	<div>
	  <label style="width: 150px; display: inline-block">Author:</label>
	  <%= f.text_field :author, value: @work.author %>
	</div>
	<div>
	  <label>Transcription Conventions:</label>
	  <%= f.text_area :transcription_conventions, value: @work.transcription_conventions, cols: 90 %>
	</div>
	<%= f.hidden_field :work_id, value: @work.id %>
	<%= f.submit %>
      <% end %>
      <br />
    </div>
  </div>
  <div class="right-column">
    <div class="inside-column">

      <%= html_block('right') %>
    </div>
  </div>
</div>

<%= javascript_include_tag "jquery.are-you-sure.js" %>
<%= javascript_tag do %>
  $( document ).ready(function() {
    $('#toggle').click(function() { $("#note_container").toggle(); });
    $('form').areYouSure();
  });
<% end %>
{'fraction_non_alphanumeric': 0.19944852941176472, 'fraction_numerical': 0.012408088235294117, 'mean_word_length': 3.907553551296505, 'pattern_counts': {'":': 0, '<': 130, '<?xml version=': 0, '>': 144, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4249936', 'n_tokens_mistral': 1650, 'n_tokens_neox': 1474, 'n_words': 301}