Sha256: c6e93042d42a0397c81a8b8faf59934660722f8913a3849d8135810ddd82cd5d
Contents?: true
Size: 1.99 KB
Versions: 7
Compression:
Stored size: 1.99 KB
Contents
<%- set_title "Location: #{@location.name}" -%> <fieldset class="form_container"> <%= legend_tag "About This Location" -%> <div class="form_column"> <fieldset> <label>Name:</label><br /> <div class="faux_field"><%=h @location.name -%></div> </fieldset> <fieldset> <label>Status:</label><br /> <div class="faux_field"><%=h @location.active? ? "Active" : "Inactive" -%></div> </fieldset> </div> <div class="form_column"> <div id="map_canvas" style="border: solid black 1px; width: 100%; height: 200px"></div> </div> </fieldset> <fieldset class="form_container"> <%= legend_tag "Address" -%> <div class="form_column"> <fieldset> <label>Address 1:</label><br /> <div class="faux_field"><%=h @location.address1 -%></div> </fieldset> <fieldset> <label>Address 2:</label><br /> <div class="faux_field"><%=h @location.address2 -%></div> </fieldset> <fieldset> <label>City:</label><br /> <div class="faux_field"><%=h @location.city -%></div> </fieldset> <fieldset> <label>State:</label><br /> <div class="faux_field"><%=h @location.state -%></div> </fieldset> <fieldset> <label>Zip:</label><br /> <div class="faux_field"><%=h @location.zip -%></div> </fieldset> </div> <div class="form_column"> <fieldset> <label>Phone:</label><br /> <div class="faux_field"><%=h @location.phone -%></div> </fieldset> <fieldset> <label>Fax:</label><br /> <div class="faux_field"><%=h @location.fax -%></div> </fieldset> <fieldset> <label>Email:</label><br /> <div class="faux_field"><%=h @location.email -%></div> </fieldset> </div> </fieldset> <%= link_to 'Edit', edit_location_path(@location), :class => 'button' -%> <%= link_to 'Back to Locations', locations_path, :class => 'button' -%> <%= render :partial => 'shared/map', :locals => {:place => @location.locale} -%> <script type="text/javascript"> initializeMap(); </script>
Version data entries
7 entries across 7 versions & 1 rubygems