Sha256: b918690be046da60b8121e75b02dcf2d18e534eb4e55cb56304c1172508c4b23

Contents?: true

Size: 397 Bytes

Versions: 2

Compression:

Stored size: 397 Bytes

Contents

- unless @item.new_record?
  = render partial: "header"

= form_for @item, :as => :item, :layout => :horizontal, :remote => !@item.new_record?, :control_col => "col-sm-5" do |f|
  - content_for_expert do
    = f.text_field :name
  = f.text_field :title
  - if @item.new_record?
    = f.maily_context_select

  - if @item.new_record?
    = f.buttons :create
  - else
    = f.buttons :save, :cancel

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
maily_herald-webui-0.9.0 app/views/maily_herald/webui/lists/_details_form.html.haml
maily_herald-webui-0.8.0 app/views/maily_herald/webui/lists/_details_form.html.haml