I have a form like so in my View, but how do I make a select in my form, because i cant find any func encodeWithCoderPrivate(coder: NSCoder) {
coder.encodeObject(self.name, forKey: "name")
coder.encodeObject(self.salary, forKey: "salary")
}
func encodeWithCoderPublic(coder: NSCoder) {
coder.encodeObject(self.name, forKey: "name")
}
.
And this form is in a modal dialog, the body. And so it the button, but I have the "Cancel" and "ok" buttons in the modal footer. So how can I remove the submit button from this form, and place it in the footer of the modal?
Thank you
SelectFor
答案 0 :(得分:0)
最简单的方法是将您的模态转换为表单,即代替此:<div class="modal fade">
执行此操作:&lt; form class="modal fade" action="/Utdannelse/LeggTilUtdannelse" method="POST">
。