-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cbe62e9
commit 27b9415
Showing
2 changed files
with
19 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
= form_for @static_page do |f| | ||
.field | ||
= f.label :title | ||
%br | ||
= f.text_field :title | ||
.panel.panel-default | ||
.panel-heading | ||
%i.icon-edit.icon-large | ||
Form | ||
.panel-body | ||
|
||
.field | ||
= f.label :content | ||
%br | ||
= f.text_field :content | ||
=form_for @static_page do |f| | ||
.form-group | ||
= f.label :title, class: 'label control-label' | ||
= f.text_field :title, class: 'input form-control', placeholder: 'Page title' | ||
|
||
.actions | ||
= f.submit | ||
.form-group | ||
= f.label :content, class: 'label control-label' | ||
= f.text_area :content, class: 'textarea form-control', placeholder: 'Content', rows: 4 | ||
|
||
.form-actions | ||
%button.btn.btn-default{type: 'submit'} Submit | ||
%a.btn{href: static_pages_path} Cancel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters