Sha256: f078e4bbde96b40deada0cd91bd09a85bca94e4e9848a7bff6be94b1fe3ec3bf

Contents?: true

Size: 835 Bytes

Versions: 8

Compression:

Stored size: 835 Bytes

Contents

<% content_for :title do %>
  <%= "#{ t(:new).capitalize } #{ @structure.name.humanize } #{ t(:category).capitalize }" %>  
<% end %>


<% content_for :header do %>
  <div class="main-header--buttons">
    <a href="<%= new_structure_category_path %>"
      class="main-header--link b-btn b-btn-primary">
      <i class="fa fa-plus" aria-hidden="true"></i> 
      <%= t(:new).capitalize %> 
      <%= t(:category).capitalize %>
    </a>
  </div>	
  <h3>
    <%= "#{ t(:new).capitalize } #{ @structure.name.humanize } #{ t(:category).capitalize }" %>  
  </h3>
  <a href="<%= structure_categories_path %>" 
  	class="main-header--back">
  	<i class="fas fa-list-ul"></i> 
  	<%= t(:back_to_index).capitalize %>
  </a>
<% end %>
		
<% content_for :content do %> 
	<%= render 'form', category: @category, structure: @structure %>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
binda-0.1.11 app/views/binda/categories/new.html.erb
binda-0.1.10 app/views/binda/categories/new.html.erb
binda-0.1.9 app/views/binda/categories/new.html.erb
binda-0.1.8 app/views/binda/categories/new.html.erb
binda-0.1.7 app/views/binda/categories/new.html.erb
binda-0.1.6 app/views/binda/categories/new.html.erb
binda-0.1.5 app/views/binda/categories/new.html.erb
binda-0.1.4 app/views/binda/categories/new.html.erb