osem-fcy/app/views/admin/roles/_form.html.haml

16 lines
344 B
Text
Raw Normal View History

.row
.col-md-12
.page-header
%h2
Role
= @role.name.titleize
.text-muted
= @role.description
= semantic_form_for @role, url: @url do |f|
.row
.col-md-5
= f.input :description, input_html: { autofocus: true }
= f.action :submit, as: :button, button_html: { class: 'btn btn-primary' }