<commit_before><p>this is the locations page</p>

<form action="/locations" method='post'>
  <input type="text" name='location_name' placeholder='location name'>
  <input type="text" name='location_desc' placeholder='location description'>
  <input type="text" name='location_image' placeholder='location image'>
  <input type="text" name='sub_location' placeholder='location sub location'>
  <input type="submit" value='create new location!'>
</form>

<% @locations.each do |location| %>
  <li><%= location.location_name %></li>
<% end %><commit_msg>updated locations.erb<commit_after><body class="left-sidebar">

<div id="preloader">
	<div id="status">
        <h3 class="center-text">Welcome</h3>
        <p class="center-text smaller-text">
            We're loading the content, give us a second. This won't take long!
        </p>
    </div>
</div>

<div class="gallery-fix"></div> <!-- Important for all pages that have galleries or portfolios -->

<div id="header-fixed" class="left-sidebar">
    <a class="open-left-sidebar" href="#"><i class="fa fa-navicon"></i></a>
		<div class="open-left-sidebar-logo" href="#">Nucleus</div>
    <a class="open-right-sidebar" href="#"><i class="fa fa-qrcode"></i></a>
</div>

<!-- Ball Footer Menu -->

<div class="footer-menu">
    <a href="#" class="footer-menu-open">
        <i class="fa fa-ellipsis-v"></i>
    </a>
    <a href="#" class="footer-menu-close">
        <i class="fa fa-times"></i>
    </a>
    <a href="/dash/add" class="footer-menu-item fm-1">
        <em>Add Item</em>
        <i class="bg-blue-dark fa fa-plus-circle"></i>
    </a>
    <a href="/dash/search" class="footer-menu-item fm-2">
        <em>Search</em>
        <i class="bg-night-dark fa fa-search"></i>
    </a>
		<a href="/dash/search" class="footer-menu-item fm-3">
				<em>Scan</em>
				<i class="bg-night-dark fa fa-qrcode"></i>
		</a>
</div>
<div class="menu-background"></div>

<div class="all-elements">
    <div class="snap-drawers">
        <div class="snap-drawer snap-drawer-left">
            <div class="sidebar-header">
                <div class="sidebar-header-logo">
                  <h1 class="user_name"><%=session[:current_user].user_name%></h1>
                  <h3><%=session[:current_user].email%></h3>
                </div>
                <div class="overlay"></div>
            </div>


            <div class="sidebar-menu half-bottom">

                <div>
                    <a class="menu-item" href="/dash">
                        <i class="fa fa-home"></i>
                        <em>Dashboard</em>
                    </a>
                </div>
								<div class="has-submenu">
										<a class="menu-item" href="/dash/list">
												<i class="fa fa-list"></i>
												<em>Items</em>
										</a>
								</div>
                <div class="has-submenu">
                    <a class="menu-item" href="/categories">
                        <i class="fa fa-database"></i>
                        <em>Categories</em>
                    </a>
                </div>
                <div>
                    <a class="menu-item" href="/locations">
                        <i class="fa fa-map-marker"></i>
                        <em>Locations</em>
                    </a>
                </div>
                <div>
                    <a class="menu-item" href="/settings">
                        <i class="fa fa-cog"></i>
                        <em>Settings</em>
                    </a>
                </div>
                <div>
                    <a class="menu-item" href="/logout">
                        <i class="fa fa-sign-out bottom"></i>
                        <em>Logout</em>
                    </a>
                </div>

            </div>


        </div>

        <!--Right Sidebar -->

        <div class="snap-drawer snap-drawer-right">
            <!-- Disabled on this page -->
        </div>

        <div id="content" class="snap-content">
            <div class="content">
            <div class="header-clear-large"></div>
            <!--Page content goes here, fixed elements go above the all elements class-->


  <% @locations.each do |location| %>
  <div class="container material-container">
    <li><%= location.location_name %></li>
  </div>
  <% end %>



								<div class="container material-container">



                  <form action="/locations" method="post">
                  <div >
                      <input onfocus="if (this.value=='Location Name') this.value = ''" onblur="if (this.value=='') this.value = 'Location Name'" type="text" value="Location Name" name='location_name'>
                  </div>

                  <div >
                      <input onfocus="if (this.value=='Location Description') this.value = ''" onblur="if (this.value=='') this.value = 'Location Description'" type="text" value="Location Description" name='location_desc'>
                  </div>

                  <div >
                      <input onfocus="if (this.value=='Location Image URL') this.value = ''" onblur="if (this.value=='') this.value = 'Location Image URL'" type="text" value="Location Image URL" name='location_image'>
                  </div>

                  <div >
                      <input onfocus="if (this.value=='Sub Location') this.value = ''" onblur="if (this.value=='') this.value = 'Sub Location'" type="text" value="Sub Location" name='sub_location'>
                  </div>



                  <input type="submit" class="pageapp-signup-button button button-small button-blue button-fullscreen" value="Add Location">
                </form>


                  <a class="center" href="/dash">Cancel</a>
                </div>

                <div class="clear"></div>

                <div class="decoration"></div>


                <div class="footer">
                    <p class="center-text">Copyright 2015. All rights reserved.</p>
                </div>

            <!-- End of entire page content-->
            </div>
        </div>
    </div>
    <a href="#" class="back-to-top-badge"><i class="fa fa-caret-up"></i>Back to top</a>
</div>

<!--Fly up share box and notifications go here -->
<!--These are the only features that should be placed outside the all-elements class-->

<div class="top-notification-1 top-notification bg-blue-dark">
    <h4>Did you know?</h4>
    <p>
        Easy way to make sure your messages get read!
    </p>
    <a href="#" class="close-top-notification"><i class="fa fa-times"></i></a>
</div>
<div class="bottom-notification-1 bottom-notification bg-green-dark">
    <h4>Did you know?</h4>
    <p>
        Easy way to make sure your messages get read!
    </p>
    <a href="#" class="close-bottom-notification"><i class="fa fa-times"></i></a>
</div>
<div class="bottom-notification-2 bottom-notification bg-orange-dark timeout-notification">
    <h4>Timeout: 5 Seconds</h4>
    <p>
        I'll go away on my own after a few seconds!
    </p>
</div>
<div class="top-notification-2 top-notification bg-red-dark timeout-notification">
    <h4>Timeout: 5 Seconds</h4>
    <p>
        I'll go away on my own after a few seconds!
    </p>
</div>

</body>
{'fraction_non_alphanumeric': 0.17595307917888564, 'fraction_numerical': 0.003770423125261835, 'mean_word_length': 1.906655844155844, 'pattern_counts': {'":': 0, '<': 225, '<?xml version=': 0, '>': 225, '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': '6159014', 'n_tokens_mistral': 2275, 'n_tokens_neox': 2068, 'n_words': 504}