- now = Time.zone.now

%div.page-heder
  %h1 イベント作成
= form_for(@event, class: 'form-horizotal', role: 'form') do |f|
  - if @event.errors.any?
    %div{ class: 'alert alert-danger' }

- now = Time.zone.now

%div.page-header
  %h1 イベント作成
= form_for(@event, class: 'form-horizotal', role: 'form') do |f|
  - if @event.errors.any?
    %div{ class: 'alert alert-danger' }
      %ul
        - @event.errors.full_messages.each do |msg|
          %li =msg

  %div.form-group
    = f.label :name
    = f.text_field :name, class: 'form-control'

Add form name and Fix typo page-header
Add form name and Fix typo page-header
