<commit_before>{% extends "base.html" %}
{% load i18n %}
{% load bootstrap_toolkit %}
{% block nav %}
<li><a href="#myModal" class="btn btn-danger" data-toggle="modal"><i class="icon-remove icon-white"></i> Computer</a></li>
{% endblock %}
{% block content %}
<h1>Edit Computer</h1>
{% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %}

    <form action="{% url edit_computer computer.id %}" method="post">{% csrf_token %}
	
        <table>
	
            {{ form|as_bootstrap }}
        </table>
        <p><button type="submit" class="btn primary">Save</button></p>
    </form>
	
	<div class="modal hide fade in" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="display: none; ">
	  <div class="modal-header">
	    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
	    <h3 id="myModalLabel">Are you sure?</h3>
	  </div>
	  <div class="modal-body">
	    <p>This will delete the computer permanently - are you sure you want to do this?</p>
	  </div>
	  <div class="modal-footer">
	    <button class="btn" data-dismiss="modal" aria-hidden="true">Cancel</button>
	    <a class="btn btn-danger" href="{% url namer.views.delete_computer computer.id %}">Delete Computer</a>
	  </div>
	</div>
{% endblock %}
<commit_msg>remove button styling<commit_after>{% extends "base.html" %}
{% load i18n %}
{% load bootstrap_toolkit %}
{% block nav %}
<li><a href="#myModal" data-toggle="modal"><i class="icon-remove icon-white"></i> Computer</a></li>
{% endblock %}
{% block content %}
<h1>Edit Computer</h1>
{% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %}

    <form action="{% url edit_computer computer.id %}" method="post">{% csrf_token %}
	
        <table>
	
            {{ form|as_bootstrap }}
        </table>
        <p><button type="submit" class="btn primary">Save</button></p>
    </form>
	
	<div class="modal hide fade in" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="display: none; ">
	  <div class="modal-header">
	    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
	    <h3 id="myModalLabel">Are you sure?</h3>
	  </div>
	  <div class="modal-body">
	    <p>This will delete the computer permanently - are you sure you want to do this?</p>
	  </div>
	  <div class="modal-footer">
	    <button class="btn" data-dismiss="modal" aria-hidden="true">Cancel</button>
	    <a class="btn btn-danger" href="{% url namer.views.delete_computer computer.id %}">Delete Computer</a>
	  </div>
	</div>
{% endblock %}

{'fraction_non_alphanumeric': 0.20205089251804026, 'fraction_numerical': 0.005317128750474744, 'mean_word_length': 4.084942084942085, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 79, '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': '355478', 'n_tokens_mistral': 946, 'n_tokens_neox': 845, 'n_words': 204}