【问题标题】:Zurb Foundation - Create a custom form but now posts wont be createdZurb Foundation - 创建自定义表单,但现在不会创建帖子
【发布时间】:2017-07-25 05:26:33
【问题描述】:

所以我为我使用 Foundation Forms 构建的网站创建了一个表单,现在它不会创建帖子。

这里是html:

<div style="padding-bottom: 5px; padding-top: 10px;">
<label>
    <h3><small><font color="black">Post Title</font></small></h3>
    <input type="text" placeholder="Enter Post Title Here">
</label>
</div>
<!--Post Content-->
<div style="padding-bottom: 5px;">
<label>
  <h3><small><font color="black">Post Content</font></small></h3>
  <textarea placeholder="Enter Post Content Here"></textarea>
</label>
<hr>
</div>
<!--Post File-->
<label for="exampleFileUpload" class="button">Upload File</label>
<input type="file" id="exampleFileUpload" class="show-for-sr">
<br>
<hr>
<!--Submit Post-->
<label>
<input name= "myfiles" type='submit' class='button' value='Create Post'/>
</label>
</form>
</div>
</div>

【问题讨论】:

    标签: html css django forms zurb-foundation


    【解决方案1】:

    您的意思是 HTTP 帖子不是“发布”?看起来您缺少起始的 &lt;form&gt; 标记,这不是 Zurb 问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-01-19
      • 2011-03-18
      • 2015-11-06
      • 1970-01-01
      • 1970-01-01
      • 2018-06-24
      • 2016-05-13
      • 1970-01-01
      相关资源
      最近更新 更多