From 518a7533432019b34f5a0dda81cf933cda279f6f Mon Sep 17 00:00:00 2001 From: koudaiii Date: Thu, 24 Mar 2016 09:23:48 +0900 Subject: [PATCH] Add new --- app/views/admin/staff_members/new.html.haml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/views/admin/staff_members/new.html.haml b/app/views/admin/staff_members/new.html.haml index e69de29..5c3a616 100644 --- a/app/views/admin/staff_members/new.html.haml +++ b/app/views/admin/staff_members/new.html.haml @@ -0,0 +1,9 @@ +- @title = '職員の新規登録' +%h1=@title + +.generic-form + - form_for [ :admin, @staff_member ] do |f| + - render 'form', f: f + %div.buttons + = f.submit '登録' + = link_to 'キャンセル', :admin_staff_member