<commit_before>@extends ('app')

@section('title', 'Create')

@section('content')
	<legend>Create Shared Secret</legend>
	<form action="store" method="POST" role="form">
	    <div class="form-group">
	        <label for="secret">Secret</label>
	        <textarea name="secret" id="secret" class="form-control" rows="3" required="required"></textarea>
	    </div>

	    <div class="form-group">
	        <label for="expires_time">Expiration (UTC)</label>
	        <fieldset class="form-inline">
		        <input type="time" name="expires_time" id="expires_time" class="form-control" value="{{ $now->format('H:i') }}" required="required" title="">
		        <input type="date" name="expires_date" id="expires_date" class="form-control" value="{{ $now->format('Y-m-d') }}" required="required" title="">
		    </fieldset>
		</div>

		<div class="form-group">
		    <label for="expires_views">View Limit</label>
		    <input type="number" name="expires_views" id="expires_views" class="form-control" value="5" min="1" max="" step="" required="required" title="">
	    </div>

	    <input type="hidden" name="_token" value="{{{ csrf_token() }}}" />
	    <button type="submit" class="btn btn-primary">Submit</button>
	</form>
@stop<commit_msg>Date/time fields reversed, tabs to spaces.<commit_after>@extends ('app')

@section('title', 'Create')

@section('content')
    <legend>Create Shared Secret</legend>
    <form action="store" method="POST" role="form">
        <div class="form-group">
            <label for="secret">Secret</label>
            <textarea name="secret" id="secret" class="form-control" rows="3" required="required"></textarea>
        </div>

        <div class="form-group">
            <label for="expires_time">Expiration (UTC)</label>
            <fieldset class="form-inline">
                <input type="date" name="expires_date" id="expires_date" class="form-control" value="{{ $now->format('Y-m-d') }}" required="required" title="">
                <input type="time" name="expires_time" id="expires_time" class="form-control" value="{{ $now->format('H:i') }}" required="required" title="">
                
            </fieldset>
        </div>

        <div class="form-group">
            <label for="expires_views">View Limit</label>
            <input type="number" name="expires_views" id="expires_views" class="form-control" value="5" min="1" max="" step="" required="required" title="">
        </div>

        <input type="hidden" name="_token" value="{{{ csrf_token() }}}" />
        <button type="submit" class="btn btn-primary">Submit</button>
    </form>
@stop
{'fraction_non_alphanumeric': 0.2027702962677953, 'fraction_numerical': 0.002308580223162755, 'mean_word_length': 3.727272727272727, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 59, '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': '3818295', 'n_tokens_mistral': 833, 'n_tokens_neox': 786, 'n_words': 160}