<commit_before><style type="text/css">
#request-setup-block{
background:#f4f4f4;	
margin-left:-10px;
}
.request-setup-border{display:block;height:2px;background:url(images/false-border.png);}
.request-options{
padding-bottom:10px;
}
.request-options h2{
background:#6b7984;
color:#dedede;
font-size:14px;
display:block;
padding:4px 8px;
border:1px solid #626f79;
}
.request-types{
padding:10px 20px 0px;
}
.request-types h3{
cursor:pointer !important;
font-size:14px !important;
color:#778086 !important; 
display:block;
padding-bottom:10px;
margin:0px !important;
background:url(images/false-border.png) repeat-x bottom;
}
.request-types h3 label{cursor:pointer;}
.request-opts{
padding:5px 10px;
}
.request-form{
padding:5px 10px;
}
.templates ul{list-style:none}
.templates ul li{width:84px;}
.request-opts a.button{
background:#d1e2f1 url(images/button-highlight.png) top repeat-x;
color:#6b8194;
padding:4px 11px;
-webkit-border-radius:12px;
-moz-border-radius:12px;
border-radius:12px;
border:1px solid #9ebdd8;
font-weight:bold;
}
.request-opts a.button:hover{background:#dce9f5;}

.request-opts a.button-gray{
background:#eceff1 url(images/button-highlight.png) top repeat-x;
color:#6b8194;
padding:4px 11px;

-webkit-border-radius:12px;
-moz-border-radius:12px;
border-radius:12px;
border:1px solid #c1c8d0;
font-weight:bold;
}
.request-opts a.button-gray:hover{background:#dce9f5;}
#request-preview{
width:360px;
margin-left:19px;
float:left;
position:absolute;
top:20px;
left:200px;
}
.request-block{
border:1px solid #c8ced2;
-webkit-border-radius:4px;
-moz-border-radius:4px;
border-radius:4px;
margin-bottom:15px;
overflow:hidden;
}
.request-block h2{
display:block;
border-top:1px solid #ffffff;
border-bottom:1px solid #c8ced2;
color:#8a9196;
text-shadow:#fafafa 0px 1px;
font-size:14px;font-weight:bold;
padding:8px 12px;
background:#eceff1;
}
.request-block .html-code textarea{display:block;width:338px;height:133px;border:none;padding:10px;font-size:11px;}

.request-form{
padding:5px 10px;
}
.request-form label{padding-left:6px;}
.request-form .custom-message{float:left;list-style:none;padding-left:10px;}
.request-form .custom-message li{margin:0px;padding:0px;font-size:11px;}
.request-opts span.gray{color:#707d87;font-size:10px;}
.error-message{background:url(/img/yellow-error.png) repeat;padding:10px 30px;color:#565758;margin:0px -20px;font-weight:bold;}
.float-right{float:right;}
</style>
<div class="block">
    <?if($submission_widgets->form_widgets->widget->total_rows > 0):?>
    <div id="request-setup-block">                    
        <?=Form::open('feedback/requestfeedback', 'POST', array('id' => 'requestForm'))?>
        <div class="request-options">
            <h2>Request Feedback</h2>
            <div class="request-types">
                <h3><label for="full_page_type">Recepient Details</label></h3>
                <div class="request-form" id="full_page_request">
                    <table width="100%">
                        <tr>
                            <td width="120">
                            <label>First Name : </label><br />
                            <input type="text" name="firstname" class="regular-text" id="recipient-fname" value="<?=$input['firstname']?>"/>
                            <?=($errors) ? "<p style='color:red; padding-left:10px'>".$errors->first('firstname')."</p>" : null?>
                            </td>
                            <td width="120">
                            <label>Last Name :</label><br />
                            <input type="text" name="lastname" class="regular-text" id="recipient-lname" value="<?=$input['lastname']?>"/>
                            <?=($errors) ? "<p style='color:red; padding-left:10px'>".$errors->first('lastname')."</p>" : null?>
                            </td>
                        </tr>
                        <tr>
                            <td width="120">
                            <label>Email : </label><br />
                            <input type="text" name="email" class="regular-text" id="recipient-email" value="<?=$input['email']?>"/>
                            <?=($errors) ? "<p style='color:red; padding-left:10px'>".$errors->first('email')."</p>" : null?>
                            </td>
                            <td width="120">
                            <label>Website : </label><br />
                            <select name="site_id">
                                <?foreach($sites as $site):?>
                                    <option value="<?=$site->siteid?>"><?=$site->domain?></option>
                                <?endforeach?>
                            </select>
                            </td>
                        </tr>
                        <tr>
                            <td width="120">
                            <div style="padding-left:6px">
                                <label>Submission Forms: </label><br />
                                <select name="widget_key">
                                    <?foreach($submission_widgets->form_widget->widget->widgets as $widgets):?>
                                        <option value="<?=$widgets->widgetkey?>">
                                        <?=Helpers::unwrap($widgets->widgetobjstring)?>
                                        </option>
                                    <?endforeach?>
                                </select>
                            </div>
                            </td> 
                        </tr>
                        <tr>
                            <td colspan="2">
                            <label>Message : </label> <br />
                            <?=($errors) ? "<p style='color:red; padding-left:10px'>".$errors->first('custom_message')."</p>" : null?>
                            <textarea class="regular-text" name="custom_message" style="width:400px;float:left" rows="7" id="message" ><?=$input['custom_message']?></textarea>

                            <ul class="custom-message">
                                <li>Custom Message #1</li>
                                <li>Custom Message #2</li>
                                <li>Custom Message #3</li>
                            </ul>
                            </td>
                        </tr><commit_msg>heheh<commit_after><style type="text/css">
#request-setup-block{
background:#f4f4f4;	
margin-left:-10px;
}
.request-setup-border{display:block;height:2px;background:url(images/false-border.png);}
.request-options{
padding-bottom:10px;
}
.request-options h2{
background:#6b7984;
color:#dedede;
font-size:14px;
display:block;
padding:4px 8px;
border:1px solid #626f79;
}
.request-types{
padding:10px 20px 0px;
}
.request-types h3{
cursor:pointer !important;
font-size:14px !important;
color:#778086 !important; 
display:block;
padding-bottom:10px;
margin:0px !important;
background:url(images/false-border.png) repeat-x bottom;
}
.request-types h3 label{cursor:pointer;}
.request-opts{
padding:5px 10px;
}
.request-form{
padding:5px 10px;
}
.templates ul{list-style:none}
.templates ul li{width:84px;}
.request-opts a.button{
background:#d1e2f1 url(images/button-highlight.png) top repeat-x;
color:#6b8194;
padding:4px 11px;
-webkit-border-radius:12px;
-moz-border-radius:12px;
border-radius:12px;
border:1px solid #9ebdd8;
font-weight:bold;
}
.request-opts a.button:hover{background:#dce9f5;}

.request-opts a.button-gray{
background:#eceff1 url(images/button-highlight.png) top repeat-x;
color:#6b8194;
padding:4px 11px;

-webkit-border-radius:12px;
-moz-border-radius:12px;
border-radius:12px;
border:1px solid #c1c8d0;
font-weight:bold;
}
.request-opts a.button-gray:hover{background:#dce9f5;}
#request-preview{
width:360px;
margin-left:19px;
float:left;
position:absolute;
top:20px;
left:200px;
}
.request-block{
border:1px solid #c8ced2;
-webkit-border-radius:4px;
-moz-border-radius:4px;
border-radius:4px;
margin-bottom:15px;
overflow:hidden;
}
.request-block h2{
display:block;
border-top:1px solid #ffffff;
border-bottom:1px solid #c8ced2;
color:#8a9196;
text-shadow:#fafafa 0px 1px;
font-size:14px;font-weight:bold;
padding:8px 12px;
background:#eceff1;
}
.request-block .html-code textarea{display:block;width:338px;height:133px;border:none;padding:10px;font-size:11px;}

.request-form{
padding:5px 10px;
}
.request-form label{padding-left:6px;}
.request-form .custom-message{float:left;list-style:none;padding-left:10px;}
.request-form .custom-message li{margin:0px;padding:0px;font-size:11px;}
.request-opts span.gray{color:#707d87;font-size:10px;}
.error-message{background:url(/img/yellow-error.png) repeat;padding:10px 30px;color:#565758;margin:0px -20px;font-weight:bold;}
.float-right{float:right;}
</style>
<div class="block">
    <?if($submission_widgets->form_widgets->widget->total_rows > 0):?>
    <div id="request-setup-block">                    
        <?=Form::open('feedback/requestfeedback', 'POST', array('id' => 'requestForm'))?>
        <div class="request-options">
            <h2>Request Feedback</h2>
            <div class="request-types">
                <h3><label for="full_page_type">Recepient Details</label></h3>
                <div class="request-form" id="full_page_request">
                    <table width="100%">
                        <tr>
                            <td width="120">
                            <label>First Name : </label><br />
                            <input type="text" name="firstname" class="regular-text" id="recipient-fname" value="<?=$input['firstname']?>"/>
                            <?=($errors) ? "<p style='color:red; padding-left:10px'>".$errors->first('firstname')."</p>" : null?>
                            </td>
                            <td width="120">
                            <label>Last Name :</label><br />
                            <input type="text" name="lastname" class="regular-text" id="recipient-lname" value="<?=$input['lastname']?>"/>
                            <?=($errors) ? "<p style='color:red; padding-left:10px'>".$errors->first('lastname')."</p>" : null?>
                            </td>
                        </tr>
                        <tr>
                            <td width="120">
                            <label>Email : </label><br />
                            <input type="text" name="email" class="regular-text" id="recipient-email" value="<?=$input['email']?>"/>
                            <?=($errors) ? "<p style='color:red; padding-left:10px'>".$errors->first('email')."</p>" : null?>
                            </td>
                            <td width="120">
                            <label>Website : </label><br />
                            <select name="site_id">
                                <?foreach($sites as $site):?>
                                    <option value="<?=$site->siteid?>"><?=$site->domain?></option>
                                <?endforeach?>
                            </select>
                            </td>
                        </tr>
                        <tr>
                            <td width="120">
                            <div style="padding-left:6px">
                                <label>Submission Forms: </label><br />
                                <select name="widget_key">
                                    <?foreach($submission_widgets->form_widgets->widget->widgets as $widgets):?>
                                        <option value="<?=$widgets->widgetkey?>">
                                        <?=Helpers::unwrap($widgets->widgetobjstring)?>
                                        </option>
                                    <?endforeach?>
                                </select>
                            </div>
                            </td> 
                        </tr>
                        <tr>
                            <td colspan="2">
                            <label>Message : </label> <br />
                            <?=($errors) ? "<p style='color:red; padding-left:10px'>".$errors->first('custom_message')."</p>" : null?>
                            <textarea class="regular-text" name="custom_message" style="width:400px;float:left" rows="7" id="message" ><?=$input['custom_message']?></textarea>

                            <ul class="custom-message">
                                <li>Custom Message #1</li>
                                <li>Custom Message #2</li>
                                <li>Custom Message #3</li>
                            </ul>
                            </td>
                        </tr>
{'fraction_non_alphanumeric': 0.1617635397668702, 'fraction_numerical': 0.03314566648164301, 'mean_word_length': 1.8618107556160655, 'pattern_counts': {'":': 0, '<': 205, '<?xml version=': 0, '>': 237, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6433965', 'n_tokens_mistral': 4035, 'n_tokens_neox': 3729, 'n_words': 575}