Sha256: a94467de4fb04d9bdc7ff7cec73a431ce795a13213ceca479e62f8c8d87d1053

Contents?: true

Size: 1 KB

Versions: 21

Compression:

Stored size: 1 KB

Contents

.page-header
  .row
    .col-md-6
      %h1
        New block
        %small
          <i class="ace-icon fa fa-angle-double-right"></i>
          select path and create file
    .col-md-4
      =link_to 'Back to templates', templates_path


.row
  .col-md-12
    = horizontal_simple_form_for @item, {url: createlayout_templates_path, :html => { :class => "form-horizontal", :role => "form" }}.merge((@modal==1 ? {remote: true}: {}))  do |f|

      = render 'optimacms/admin/shared/form_errors', :object=>@item

      = hidden_field_tag :modal, @modal

      = f.input :basename, label: "Name", :hint=>'ex: index, show'
      = f.input :title, label: "Title"

      = f.input :basedirpath, readonly: true, label: 'Folder', hint: "ex: news/"

      = f.input :type_id, as: :hidden
      = f.input :tpl_format, label: "Format", :collection=>Optimacms::Template::EXTENSIONS.keys

      = f.input :is_translated, label: "Translate?"

      = f.button :submit_cancel, 'Save', :cancel=>@url_back


Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
optimacms-0.3.35 app/views/optimacms/admin/templates/newblock.html.haml
optimacms-0.3.34 app/views/optimacms/admin/templates/newblock.html.haml
optimacms-0.3.30 app/views/optimacms/admin/templates/newblock.html.haml
optimacms-0.3.29 app/views/optimacms/admin/templates/newblock.html.haml
optimacms-0.3.23 app/views/optimacms/admin/templates/newblock.html.haml
optimacms-0.3.15 app/views/optimacms/admin/templates/newblock.html.haml
optimacms-0.3.12 app/views/optimacms/admin/templates/newblock.html.haml
optimacms-0.3.11 app/views/optimacms/admin/templates/newblock.html.haml
optimacms-0.2.26 app/views/optimacms/admin/templates/newblock.html.haml
optimacms-0.2.25 app/views/optimacms/admin/templates/newblock.html.haml
optimacms-0.2.24 app/views/optimacms/admin/templates/newblock.html.haml
optimacms-0.3.4 app/views/optimacms/admin/templates/newblock.html.haml
optimacms-0.3.3 app/views/optimacms/admin/templates/newblock.html.haml
optimacms-0.2.21 app/views/optimacms/admin/templates/newblock.html.haml
optimacms-0.2.20 app/views/optimacms/admin/templates/newblock.html.haml
optimacms-0.2.16 app/views/optimacms/admin/templates/newblock.html.haml
optimacms-0.2.15 app/views/optimacms/admin/templates/newblock.html.haml
optimacms-0.2.14 app/views/optimacms/admin/templates/newblock.html.haml
optimacms-0.2.13 app/views/optimacms/admin/templates/newblock.html.haml
optimacms-0.2.12 app/views/optimacms/admin/templates/newblock.html.haml