% stash css=>["/home/admin/admin.css","/home/admin/home/admin.css"];
% stash js=>["/home/admin/home/buttons.js","/home/admin/home/fb.js"];
<section class="title flex">
  <article class="title"> <p>Editar Casa</p> </article>
</section>
  
<section class="mod"> 
  <form action="/admin/home" method="POST">
    <label>Mensaje del día</label>
      <textarea name="link" id="tmod" class="mod"><%= $mod %></textarea> 
    <input type="hidden" name="update" value="mod">
    <input type="submit" name="hup" value="Cambiar" >
  </form>
</section>
  
<section class="home flex"> <!-- col2 -->
  <section class="col2"> <!-- col2 -->
    <article id="msc" class="msc">
    <%== $sc %>
    </article>
    <article class="mscl">
      <form action="/admin/home" method="POST">
        <input type="text" id="slink" name="link" value="">
        <input type="button" id="sview" name="view" value="Ver">
        <input type="submit" name="hup" value="Cambiar" >
        <input type="hidden" name="update" value="sc">
      </form>
    </article>
   
    <!-- face -->
    <article class="mfb" id="amfb">
      <div class="fb-post" id="fbdiv" data-href="<%= $fb %>" 
          data-width="450" data-show-text="true"></div>
    </article>
    <article class="mfbl">
      <form action="/admin/home" method="POST">
        <input type="text" id="flink" name="link" value="">
        <input type="button" id="fview" name="view" value="Ver">
        <input type="submit" name="hup" value="Cambiar" >
        <input type="hidden" name="update" value="fb">
      </form>
    </article>
  </section>
  
  <section class="col2"> <!-- col2 --> <!-- yt -->
    <article class="myt">
      <div id="ytbox">
          <iframe id="evideo" 
          src="https://www.youtube.com/embed/<%= $yt %> " 
          allowfullscreen></iframe>
      </div>
    </article>
    <article class="mytl">
      <form action="/admin/home" method="POST">
        <input type="text" id="ylink" name="link">
        <input type="button" id="yview" value="Ver">
        <input type="submit" name="hup" value="Cambiar" >
        <input type="hidden" name="update" value="yt">
      </form>
    </article>
  </section>
</section>

